X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Fsyntax.h;h=2c832c149e2467ba346867eb453cc8850b7a11a6;hb=c288e8d074f303f275ce03bf09c8799b2c8fde6e;hp=ae05c02e4379c429207418fdadac16ba81b3d011;hpb=fd44325059d59d32d47ef3feb6d41d846f7f36f0;p=libs%2Fgl.git 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;