Fix input
This commit is contained in:
1 parent
706bb3715d
commit
c0f1e4e9e5
1 file changed
+2
-2
+2
-2
@@ -1212,7 +1212,7 @@ class Parser
|
|||||||
}
|
}
|
||||||
Input input = new Input(null, true, lex.location);
|
Input input = new Input(null, true, lex.location);
|
||||||
input.addVariable(message);
|
input.addVariable(message);
|
||||||
do
|
while(token.type == TokenType.Comma)
|
||||||
{
|
{
|
||||||
lex.popFront();
|
lex.popFront();
|
||||||
auto expr = expression();
|
auto expr = expression();
|
||||||
@@ -1222,7 +1222,7 @@ class Parser
|
|||||||
}
|
}
|
||||||
input.addVariable(expr);
|
input.addVariable(expr);
|
||||||
token = lex.front();
|
token = lex.front();
|
||||||
} while(token.type == TokenType.Comma);
|
}
|
||||||
|
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user