From 65516804eeb0ee71eb8f81dea2ad61ff6ed1d42b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 9 Sep 2006 11:25:10 +0200 Subject: [PATCH] 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 deletion(-) diff --git a/libs/wpp/Makefile.in b/libs/wpp/Makefile.in index 58a374cc648..9d501e925de 100644 --- a/libs/wpp/Makefile.in +++ b/libs/wpp/Makefile.in @@ -21,7 +21,7 @@ $(MODULE): $(OBJS) $(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 801c7acbe9d..3d7928a76bb 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;