Module: wine Branch: master Commit: 65516804eeb0ee71eb8f81dea2ad61ff6ed1d42b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=65516804eeb0ee71eb8f81de...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Sep 9 11:25:10 2006 +0200
libs/wpp: Specify the bison name prefix directly in the source file.
---
libs/wpp/Makefile.in | 2 +- libs/wpp/ppy.y | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libs/wpp/Makefile.in b/libs/wpp/Makefile.in index 58a374c..9d501e9 100644 --- a/libs/wpp/Makefile.in +++ b/libs/wpp/Makefile.in @@ -21,7 +21,7 @@ all: $(MODULE) $(RANLIB) $@
ppy.tab.c ppy.tab.h: ppy.y - $(BISON) -ppp -d -t $(SRCDIR)/ppy.y -o ppy.tab.c + $(BISON) -d $(SRCDIR)/ppy.y -o ppy.tab.c
# hack to allow parallel make ppy.tab.h: ppy.tab.c diff --git a/libs/wpp/ppy.y b/libs/wpp/ppy.y index 801c7ac..3d7928a 100644 --- a/libs/wpp/ppy.y +++ b/libs/wpp/ppy.y @@ -123,6 +123,8 @@ static int nmacro_args;
%}
+%name-prefix="pp" + %union{ int sint; unsigned int uint;