summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ast.h3
-rw-r--r--glsl_parser_extras.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/ast.h b/ast.h
index f7cdf96d09..0dfd02a9cd 100644
--- a/ast.h
+++ b/ast.h
@@ -75,9 +75,6 @@ public:
this->location.column = locp.first_column;
}
-
- int type;
-
struct {
unsigned source;
unsigned line;
diff --git a/glsl_parser_extras.cpp b/glsl_parser_extras.cpp
index 265782ebda..eb19ed7b91 100644
--- a/glsl_parser_extras.cpp
+++ b/glsl_parser_extras.cpp
@@ -104,7 +104,7 @@ _mesa_ast_type_qualifier_print(const struct ast_type_qualifier *q)
void
ast_node::print(void) const
{
- printf("node_%d ", type);
+ printf("unhandled node ");
}