X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=2c832c149e2467ba346867eb453cc8850b7a11a6;hp=ae05c02e4379c429207418fdadac16ba81b3d011;hb=50ab5ca;hpb=e97feb2fdd27af970412eea6a03cc7270032a80b diff --git a/source/glsl/syntax.h b/source/glsl/syntax.h index ae05c02e..2c832c14 100644 --- a/source/glsl/syntax.h +++ b/source/glsl/syntax.h @@ -102,7 +102,7 @@ template class NodeArray: public NodeContainer > > { }; -struct StructDeclaration; +struct TypeDeclaration; struct VariableDeclaration; struct InterfaceBlock; struct FunctionDeclaration; @@ -131,6 +131,9 @@ struct Expression: Node { const Operator *oper; + TypeDeclaration *type; + bool lvalue; + Expression(); virtual Expression *clone() const = 0;