summaryrefslogtreecommitdiff
path: root/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-19 11:57:24 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-19 11:57:24 -0700
commit8bde4cec6b189564b1f2d58514bd7e7a4b40f714 (patch)
tree6c4bd932f35b52cc8948255e4100b43478833483 /glsl_parser_extras.cpp
parent82de85e264383553dc3c3f827c3b3259355b1006 (diff)
Use glsl_symbol_table instead of using _mesa_symbol_table directly
Diffstat (limited to 'glsl_parser_extras.cpp')
-rw-r--r--glsl_parser_extras.cpp5
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;
}