msi: Specify the bison name prefix directly in the source file.

This commit is contained in:
Alexandre Julliard 2006-09-09 11:25:19 +02:00
parent 65516804ee
commit 689d943dab
3 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -102,6 +102,7 @@ static BOOL num_from_prop( LPCWSTR p, INT *val )
%}
%pure-parser
%name-prefix="COND_"
%union
{

View file

@ -67,6 +67,7 @@ static struct expr * EXPR_wildcard( void *info );
%}
%pure-parser
%name-prefix="SQL_"
%union
{