--- src/glsl/ast.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/glsl/ast.h b/src/glsl/ast.h index 13c5e6b..0b70bb7 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -453,6 +453,13 @@ class ast_declarator_list; class ast_struct_specifier : public ast_node { public: + ast_struct_specifier(const ast_struct_specifier *structure): + is_declaration(structure->is_declaration), name(structure->name), + declarations(structure->declarations) + { + /* empty */ + } + ast_struct_specifier(const char *identifier, ast_declarator_list *declarator_list); virtual void print(void) const; -- 1.8.1.5
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev