Module: Mesa Branch: master Commit: 0e7953366f2a8ab1b0e885d94f6635c7640b3cc7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e7953366f2a8ab1b0e885d94f6635c7640b3cc7
Author: Ian Romanick <[email protected]> Date: Thu Sep 10 14:35:33 2009 -0700 ARB prog parser: Differentiate between used and unused names in the lexer The lexer will return IDENTIFIER only when the name does not have an associated symbol. Otherwise USED_IDENTIFIER is returned. --- src/mesa/shader/lex.yy.c | 366 +++++----- src/mesa/shader/program_lexer.l | 20 +- src/mesa/shader/program_parse.tab.c | 1259 ++++++++++++++++++----------------- src/mesa/shader/program_parse.tab.h | 17 +- src/mesa/shader/program_parse.y | 23 +- 5 files changed, 851 insertions(+), 834 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=0e7953366f2a8ab1b0e885d94f6635c7640b3cc7 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
