[loose parser] Fix bug in argument list parsing

This commit is contained in:
Marijn Haverbeke 2013-01-17 14:17:22 +01:00
parent 7d73fe243a
commit b8ec8aab2c

View File

@ -627,7 +627,7 @@
else node.id = null;
node.params = [];
expect(tt.parenL);
while (node.type == tt.name) {
while (token.type == tt.name) {
node.params.push(parseIdent());
eat(tt.comma);
}