]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.h
Remove unused functions from the shader source
[libs/gl.git] / source / programsyntax.h
index 9545760c47b31bd8cfa98f61ee59ef626d2d851c..089683323c507b81573b0c908163f9b28337de7d 100644 (file)
@@ -52,6 +52,7 @@ public:
 
 struct StructDeclaration;
 struct VariableDeclaration;
+struct FunctionDeclaration;
 
 struct Block: Node
 {
@@ -145,6 +146,7 @@ struct Assignment: BinaryExpression
 struct FunctionCall: Expression
 {
        std::string name;
+       FunctionDeclaration *declaration;
        bool constructor;
        std::vector<NodePtr<Expression> > arguments;