mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[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:
parent
9a05b53ce8
commit
eb75eae983
3 changed files with 6 additions and 4 deletions
|
@ -47,8 +47,8 @@ list(APPEND SOURCE
|
||||||
upgrade.c
|
upgrade.c
|
||||||
where.c)
|
where.c)
|
||||||
|
|
||||||
BISON_TARGET(cond cond.y ${CMAKE_CURRENT_BINARY_DIR}/cond.tab.c COMPILE_FLAGS "-p cond_")
|
BISON_TARGET(cond cond.y ${CMAKE_CURRENT_BINARY_DIR}/cond.tab.c)
|
||||||
BISON_TARGET(sql sql.y ${CMAKE_CURRENT_BINARY_DIR}/sql.tab.c COMPILE_FLAGS "-p sql_")
|
BISON_TARGET(sql sql.y ${CMAKE_CURRENT_BINARY_DIR}/sql.tab.c)
|
||||||
|
|
||||||
set(OLD_IDL_FLAGS ${IDL_FLAGS})
|
set(OLD_IDL_FLAGS ${IDL_FLAGS})
|
||||||
set(IDL_FLAGS ${IDL_FLAGS} --prefix-server=s_)
|
set(IDL_FLAGS ${IDL_FLAGS} --prefix-server=s_)
|
||||||
|
|
|
@ -115,6 +115,7 @@ static void value_free( struct value val )
|
||||||
|
|
||||||
%lex-param { COND_input *info }
|
%lex-param { COND_input *info }
|
||||||
%parse-param { COND_input *info }
|
%parse-param { COND_input *info }
|
||||||
|
%define api.prefix {cond_}
|
||||||
%define api.pure
|
%define api.pure
|
||||||
|
|
||||||
%union
|
%union
|
||||||
|
@ -126,7 +127,7 @@ static void value_free( struct value val )
|
||||||
BOOL bool;
|
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_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_LT COND_GT COND_EQ COND_NE COND_GE COND_LE
|
||||||
%token COND_ILT COND_IGT COND_IEQ COND_INE COND_IGE COND_ILE
|
%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 COND_PERCENT COND_DOLLARS COND_QUESTION COND_AMPER COND_EXCLAM
|
||||||
%token <str> COND_IDENT <str> COND_NUMBER <str> COND_LITER
|
%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 <bool> expression boolean_term boolean_factor
|
||||||
%type <value> value
|
%type <value> value
|
||||||
|
|
|
@ -58,6 +58,7 @@ static struct expr * EXPR_wildcard( void *info );
|
||||||
|
|
||||||
%lex-param { SQL_input *info }
|
%lex-param { SQL_input *info }
|
||||||
%parse-param { SQL_input *info }
|
%parse-param { SQL_input *info }
|
||||||
|
%define api.prefix {sql_}
|
||||||
%define api.pure
|
%define api.pure
|
||||||
|
|
||||||
%union
|
%union
|
||||||
|
|
Loading…
Reference in a new issue