[WINESYNC] makefiles: Specify the bison prefix directly in the source files.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id f4af3134dec425706b74428317e9ab327b6061cc by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
winesync 2022-03-14 00:16:50 +01:00 committed by Mark Jansen
parent 9a05b53ce8
commit eb75eae983
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 6 additions and 4 deletions

View file

@ -47,8 +47,8 @@ list(APPEND SOURCE
upgrade.c
where.c)
BISON_TARGET(cond cond.y ${CMAKE_CURRENT_BINARY_DIR}/cond.tab.c COMPILE_FLAGS "-p cond_")
BISON_TARGET(sql sql.y ${CMAKE_CURRENT_BINARY_DIR}/sql.tab.c COMPILE_FLAGS "-p sql_")
BISON_TARGET(cond cond.y ${CMAKE_CURRENT_BINARY_DIR}/cond.tab.c)
BISON_TARGET(sql sql.y ${CMAKE_CURRENT_BINARY_DIR}/sql.tab.c)
set(OLD_IDL_FLAGS ${IDL_FLAGS})
set(IDL_FLAGS ${IDL_FLAGS} --prefix-server=s_)

View file

@ -115,6 +115,7 @@ static void value_free( struct value val )
%lex-param { COND_input *info }
%parse-param { COND_input *info }
%define api.prefix {cond_}
%define api.pure
%union
@ -126,7 +127,7 @@ static void value_free( struct value val )
BOOL bool;
}
%token COND_SPACE COND_EOF
%token COND_SPACE
%token COND_OR COND_AND COND_NOT COND_XOR COND_IMP COND_EQV
%token COND_LT COND_GT COND_EQ COND_NE COND_GE COND_LE
%token COND_ILT COND_IGT COND_IEQ COND_INE COND_IGE COND_ILE
@ -135,7 +136,7 @@ static void value_free( struct value val )
%token COND_PERCENT COND_DOLLARS COND_QUESTION COND_AMPER COND_EXCLAM
%token <str> COND_IDENT <str> COND_NUMBER <str> COND_LITER
%nonassoc COND_ERROR COND_EOF
%nonassoc COND_ERROR
%type <bool> expression boolean_term boolean_factor
%type <value> value

View file

@ -58,6 +58,7 @@ static struct expr * EXPR_wildcard( void *info );
%lex-param { SQL_input *info }
%parse-param { SQL_input *info }
%define api.prefix {sql_}
%define api.pure
%union