diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 11:03:47 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 11:05:16 -0700 |
commit | 03d3f3ab71ba280071f54cb60505212be6710f8e (patch) | |
tree | dcedc00ab96d44f06cd1c76ccb0c859a902add82 | |
parent | b8a21cc6df7e9da15a24ed3dbf60cd4aeb8effaa (diff) |
Remove ast_node::type
It isn't a type (is was enum specifying the kind of node), it was
unused, and it was easily confused with actual type fields. Kill with fire.
-rw-r--r-- | ast.h | 3 | ||||
-rw-r--r-- | glsl_parser_extras.cpp | 2 |
2 files changed, 1 insertions, 4 deletions
@@ -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 "); } |