Specify %option prefix="glcpp_" in the source code, not the Makefile.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
%option reentrant noyywrap
|
||||
%option extra-type="glcpp_parser_t *"
|
||||
%option prefix="glcpp_"
|
||||
|
||||
SPACE [[:space:]]
|
||||
NONSPACE [^[:space:]]
|
||||
|
||||
Reference in New Issue
Block a user