Fix omitted argument parsing

This commit is contained in:
otya128 committed 2016-12-24 13:32:52 +09:00
1 parent 4abf299063
commit d7f4ae0888
1 file changed
+2
+2
View File
@@ -951,6 +951,8 @@ class Parser
func.addArg(new VoidExpression(lex.location));
lex.popFront();
token = lex.front();
if (token.type != TokenType.Comma)
func.addArg(new VoidExpression(lex.location));
}
else
{