msi: Specify the bison name prefix directly in the source file.
This commit is contained in:
parent
65516804ee
commit
689d943dab
|
@ -58,10 +58,10 @@ EXTRA_OBJS = sql.tab.o cond.tab.o
|
|||
@MAKE_DLL_RULES@
|
||||
|
||||
sql.tab.c sql.tab.h: sql.y
|
||||
$(BISON) -p SQL_ -d $(SRCDIR)/sql.y -o sql.tab.c
|
||||
$(BISON) -d $(SRCDIR)/sql.y -o sql.tab.c
|
||||
|
||||
cond.tab.c cond.tab.h: cond.y
|
||||
$(BISON) -p COND_ -d $(SRCDIR)/cond.y -o cond.tab.c
|
||||
$(BISON) -d $(SRCDIR)/cond.y -o cond.tab.c
|
||||
|
||||
# hack to allow parallel make
|
||||
sql.tab.h: sql.tab.c
|
||||
|
|
|
@ -102,6 +102,7 @@ static BOOL num_from_prop( LPCWSTR p, INT *val )
|
|||
%}
|
||||
|
||||
%pure-parser
|
||||
%name-prefix="COND_"
|
||||
|
||||
%union
|
||||
{
|
||||
|
|
|
@ -67,6 +67,7 @@ static struct expr * EXPR_wildcard( void *info );
|
|||
%}
|
||||
|
||||
%pure-parser
|
||||
%name-prefix="SQL_"
|
||||
|
||||
%union
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue