X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogramsyntax.h;h=089683323c507b81573b0c908163f9b28337de7d;hb=f1c6ef565577ac322693255d764eea1f2cab9e77;hp=9545760c47b31bd8cfa98f61ee59ef626d2d851c;hpb=a0caabaed3aeb8947133d78986bfb4ae5ae3c893;p=libs%2Fgl.git diff --git a/source/programsyntax.h b/source/programsyntax.h index 9545760c..08968332 100644 --- a/source/programsyntax.h +++ b/source/programsyntax.h @@ -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 > arguments;