Specify %option prefix="glcpp_" in the source code, not the Makefile.

This commit is contained in:
Kenneth Graunke 2010-06-16 11:51:43 -07:00
parent 6f510a49d2
commit 254a485c33
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o xtalloc.o
bison --debug --defines=$*.h --output=$*.c $^
%.c: %.l
flex --prefix=glcpp_ --outfile=$@ $<
flex --outfile=$@ $<
glcpp-lex.c: glcpp-parse.h

View file

@ -31,6 +31,7 @@
%option reentrant noyywrap
%option extra-type="glcpp_parser_t *"
%option prefix="glcpp_"
SPACE [[:space:]]
NONSPACE [^[:space:]]