とりあえず関数呼び出し

This commit is contained in:
otya128 committed 2015-06-13 20:21:11 +09:00
1 parent 4b530f492e
commit dec42422b5
6 files changed
+160 -15

No files matched your search

+8
View File
@@ -366,10 +366,18 @@ class DefineFunction : Statement
wstring[] outArguments;
wstring name;
Statements functionBody;
bool returnExpr;
this(wstring name, bool returnExpr)
{
this.type = NodeType.DefineFunction;
this.name = name;
this.returnExpr = returnExpr;
}
this(wstring name)
{
this.type = NodeType.DefineFunction;
this.name = name;
this.returnExpr = false;
}
void addArgument(wstring name)
{