[Pkg-javascript-commits] [node-acorn-jsx] 223/484: Assignable patterns.
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:33 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 66e6bcd10f4b9dc5aa767be719eae682fbc80fc8
Author: Ingvar Stepanyan <me at rreverser.com>
Date: Fri Jul 25 00:44:08 2014 +0300
Assignable patterns.
---
acorn.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acorn.js b/acorn.js
index 8c9053b..c95d6d0 100644
--- a/acorn.js
+++ b/acorn.js
@@ -1550,7 +1550,7 @@
if (tokType.isAssign) {
var node = startNodeFrom(left);
node.operator = tokVal;
- node.left = left;
+ node.left = toAssignable(left);
next();
node.right = parseMaybeAssign(noIn);
checkLVal(left);
--
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