summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r--src/glsl/ast.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index 87f9876..8abea52 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -460,7 +460,8 @@ public:
* be modified. Zeros the inherited ast_node's fields.
*/
ast_struct_specifier(const ast_struct_specifier& that):
- ast_node(), name(that.name), declarations(that.declarations)
+ ast_node(), name(that.name), declarations(that.declarations),
+ is_declaration(that.is_declaration)
{
/* empty */
}
@@ -475,6 +476,7 @@ public:
const char *name;
/* List of ast_declarator_list * */
exec_list declarations;
+ bool is_declaration;
};