Allow empty OUT arguments

This commit is contained in:
otya128 committed 2016-12-22 20:10:21 +09:00
1 parent c7813f38b7
commit 2d0d7e0cfc
3 files changed
+34 -9

No files matched your search

+7 -2
View File
@@ -697,8 +697,13 @@ class Compiler
genCode(new PopVarExpression(sc));
}
break;
default:
throw new SyntaxError();
case NodeType.VoidExpression:
{
genCode(new Pop());
}
break;
default:
throw new SyntaxError();
}
}