diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-29 15:27:46 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-31 11:49:30 -0700 |
commit | eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0 (patch) | |
tree | e7f1b22c0eff4c806978c691d14dce1780107c74 /src/glsl/glsl_lexer.ll | |
parent | eed0a80137dfac641adfd39ce316938dbcf2be10 (diff) | |
download | external_mesa3d-eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0.zip external_mesa3d-eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0.tar.gz external_mesa3d-eb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0.tar.bz2 |
glsl: Change the lexer's namespace.
Bison 3.0 removes the YYLEX_PARAM macro. In preparation for handling
this using %lex-param, the parser needs a wrapper function for the
actual Flex lex() function.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67354
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Laurent Carlier <lordheavym@gmail.com>
Cc: "9.2" mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/glsl/glsl_lexer.ll')
-rw-r--r-- | src/glsl/glsl_lexer.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index 9375230..e24df80 100644 --- a/src/glsl/glsl_lexer.ll +++ b/src/glsl/glsl_lexer.ll @@ -149,7 +149,7 @@ literal_integer(char *text, int len, struct _mesa_glsl_parse_state *state, %option bison-bridge bison-locations reentrant noyywrap %option nounput noyy_top_state %option never-interactive -%option prefix="_mesa_glsl_" +%option prefix="_mesa_glsl_lexer_" %option extra-type="struct _mesa_glsl_parse_state *" %x PP PRAGMA |