glsl: Change the lexer's namespace.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jul 2013 22:27:46 +0000 (15:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 31 Jul 2013 18:49:30 +0000 (11:49 -0700)
commiteb7c8c7fb6e49a04f3fe84a6d438160dc4a14ac0
treee7f1b22c0eff4c806978c691d14dce1780107c74
parenteed0a80137dfac641adfd39ce316938dbcf2be10
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
src/glsl/glsl_lexer.ll
src/glsl/glsl_parser.yy
src/glsl/glsl_parser_extras.h