1
0

Allow empty OUT arguments

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

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();
}
}