diff options
Diffstat (limited to 'glsl_parser_extras.cpp')
| -rw-r--r-- | glsl_parser_extras.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp index e7f34864d5..3a2038a153 100644 --- a/glsl_parser_extras.cpp +++ b/glsl_parser_extras.cpp @@ -34,7 +34,6 @@ #include "ast.h" #include "glsl_parser_extras.h" #include "glsl_parser.h" -#include "symbol_table.h" #include "ir_print_visitor.h" void @@ -634,7 +633,7 @@ main(int argc, char **argv) state.scanner = NULL; make_empty_list(& state.translation_unit); - state.symbols = _mesa_symbol_table_ctor(); + state.symbols = new glsl_symbol_table; state.error = false; _mesa_glsl_lexer_ctor(& state, shader, shader_len); @@ -657,7 +656,7 @@ main(int argc, char **argv) } } - _mesa_symbol_table_dtor(state.symbols); + delete state.symbols; return 0; } |
