[Pkg-javascript-commits] [node-acorn-jsx] 82/484: [loose parser] Fix bug in argument list parsing
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-acorn-jsx.
commit b8ec8aab2cac70d82b9b4ba92eb1be54dccd0d88
Author: Marijn Haverbeke <marijnh at gmail.com>
Date: Thu Jan 17 14:17:22 2013 +0100
[loose parser] Fix bug in argument list parsing
---
acorn_loose.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acorn_loose.js b/acorn_loose.js
index 7262e4c..1c7d5b6 100644
--- a/acorn_loose.js
+++ b/acorn_loose.js
@@ -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);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git
More information about the Pkg-javascript-commits
mailing list