diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-19 11:12:33 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-19 11:12:33 -0700 |
commit | b0bb781e1dae3d98b861c1f6cae7fb99efefe2e1 (patch) | |
tree | ac9009d4336383f56a81961f8886825e8cab2135 /glsl_parser.ypp | |
parent | e309a6051d1a04ee581f0a47c6c585918fba1096 (diff) |
Don't track new type names during pass-1 parsing
This implementation was wrong anyway because it did not respect
scoping rules. This will need to be revisited soon. The most likely
result is that the grammar is going to need some significant re-work
to be able to use a IDENTIFIER in all the places where a TYPE_NAME is
currently used.
Diffstat (limited to 'glsl_parser.ypp')
-rw-r--r-- | glsl_parser.ypp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/glsl_parser.ypp b/glsl_parser.ypp index 2bc5cb06e6..7af93dd944 100644 --- a/glsl_parser.ypp +++ b/glsl_parser.ypp @@ -28,7 +28,6 @@ #include "ast.h" #include "glsl_parser_extras.h" -#include "symbol_table.h" #include "glsl_types.h" #define YYLEX_PARAM state->scanner @@ -934,8 +933,6 @@ struct_specifier: STRUCT IDENTIFIER '{' struct_declaration_list '}' { $$ = new ast_struct_specifier($2, $4); - - _mesa_symbol_table_add_symbol(state->symbols, 0, $2, $$); } | STRUCT '{' struct_declaration_list '}' { |