glsl2: Use bison command line option to set prefix

Bison version 2.3 doesn't seem to support %name-prefix in the source.

This should fix bugzilla #29207.
This commit is contained in:
Ian Romanick
2010-08-11 17:14:02 -07:00
parent db36e88052
commit 2fb94b37d2
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ glsl_lexer.cpp: glsl_lexer.lpp
flex --never-interactive --outfile="$@" $<
glsl_parser.cpp: glsl_parser.ypp
bison -v -o "$@" --defines=glsl_parser.h $<
bison -v -o "$@" -p "_mesa_glsl_" --defines=glsl_parser.h $<
glcpp/glcpp-lex.c: glcpp/glcpp-lex.l
flex --never-interactive --outfile="$@" $<
-1
View File
@@ -48,7 +48,6 @@
%lex-param {void *scanner}
%parse-param {struct _mesa_glsl_parse_state *state}
%name-prefix "_mesa_glsl_"
%union {
int n;