mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
Specify %option prefix="glcpp_" in the source code, not the Makefile.
This commit is contained in:
parent
6f510a49d2
commit
254a485c33
2 changed files with 2 additions and 1 deletions
|
|
@ -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:]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue