diff options
author | Ian Romanick <[email protected]> | 2009-09-10 14:35:33 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2009-09-10 14:35:33 -0700 |
commit | 0e7953366f2a8ab1b0e885d94f6635c7640b3cc7 (patch) | |
tree | ac6e912342a7a6b3d8c1af31f1918d99fa00221c /src/mesa/shader/program_parse.tab.h | |
parent | d0adebb8d5ef680590b0f281a20516318c0b8b62 (diff) |
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.
Diffstat (limited to 'src/mesa/shader/program_parse.tab.h')
-rw-r--r-- | src/mesa/shader/program_parse.tab.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mesa/shader/program_parse.tab.h b/src/mesa/shader/program_parse.tab.h index 5f89532d654..c6ed6c777ea 100644 --- a/src/mesa/shader/program_parse.tab.h +++ b/src/mesa/shader/program_parse.tab.h @@ -136,13 +136,14 @@ VTXATTRIB = 352, WEIGHT = 353, IDENTIFIER = 354, - MASK4 = 355, - MASK3 = 356, - MASK2 = 357, - MASK1 = 358, - SWIZZLE = 359, - DOT_DOT = 360, - DOT = 361 + USED_IDENTIFIER = 355, + MASK4 = 356, + MASK3 = 357, + MASK2 = 358, + MASK1 = 359, + SWIZZLE = 360, + DOT_DOT = 361, + DOT = 362 }; #endif @@ -182,7 +183,7 @@ typedef union YYSTYPE /* Line 1676 of yacc.c */ -#line 186 "program_parse.tab.h" +#line 187 "program_parse.tab.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ |