Fix omitted argument parsing
This commit is contained in:
@@ -951,6 +951,8 @@ class Parser
|
|||||||
func.addArg(new VoidExpression(lex.location));
|
func.addArg(new VoidExpression(lex.location));
|
||||||
lex.popFront();
|
lex.popFront();
|
||||||
token = lex.front();
|
token = lex.front();
|
||||||
|
if (token.type != TokenType.Comma)
|
||||||
|
func.addArg(new VoidExpression(lex.location));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user