X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=d646e558e9cdc44f607abb147cf45f6e840ae849;hp=05bcee545f4a62431ddf8c00978d766e6c670565;hb=99719790df8a1215465a68c7b1d87a495bff87eb;hpb=48fa4e32b654aa1f2107caf266c3bdda9cc74847 diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index 05bcee54..d646e558 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -107,10 +107,13 @@ struct Block: Node { NodeList body; bool use_braces; + bool anonymous; std::map types; std::map variables; + Block *parent; Block(); + Block(const Block &); virtual Block *clone() const { return new Block(*this); } virtual void visit(NodeVisitor &);