summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser.yy
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-03-20 15:45:12 +0800
committerChia-I Wu <[email protected]>2014-03-28 10:59:49 +0800
commite7f75745984937d004bf3ce08a2a8fd2149801d1 (patch)
treec3135a88c9a9cfc09241d061b4ab5152873db6e4 /src/glsl/glsl_parser.yy
parente3418562940f7021b6d4d981666918964c84abb7 (diff)
glsl: remove {add,get}_type_ast from glsl_symbol_table
They are not needed since 0da1a2cc369052643ccaea75a1722cc37652d82a. Signed-off-by: Chia-I Wu <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser.yy')
-rw-r--r--src/glsl/glsl_parser.yy1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser.yy b/src/glsl/glsl_parser.yy
index faaf4388c54..2d0e7be5489 100644
--- a/src/glsl/glsl_parser.yy
+++ b/src/glsl/glsl_parser.yy
@@ -1901,7 +1901,6 @@ struct_specifier:
$$ = new(ctx) ast_struct_specifier($2, $4);
$$->set_location_range(@2, @5);
state->symbols->add_type($2, glsl_type::void_type);
- state->symbols->add_type_ast($2, new(ctx) ast_type_specifier($$));
}
| STRUCT '{' struct_declaration_list '}'
{