Use glsl_symbol_table instead of using _mesa_symbol_table directly
diff --git a/ast_function.cpp b/ast_function.cpp
index 5cf271e..a120eb8 100644
--- a/ast_function.cpp
+++ b/ast_function.cpp
@@ -22,7 +22,7 @@
*/
#include <cstdio>
-#include "symbol_table.h"
+#include "glsl_symbol_table.h"
#include "ast.h"
#include "glsl_types.h"
#include "ir.h"
@@ -32,8 +32,7 @@
YYLTYPE *loc, simple_node *parameters,
struct _mesa_glsl_parse_state *state)
{
- ir_function *f = (ir_function *)
- _mesa_symbol_table_find_symbol(state->symbols, 0, name);
+ ir_function *f = state->symbols->get_function(name);
if (f == NULL) {
_mesa_glsl_error(loc, state, "function `%s' undeclared", name);