[Pkg-javascript-commits] [node-acorn-jsx] 204/484: Added ES6-specific Function properties.
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:28 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 12ac95732dff0d6900fac0af6cc92d1abe9c53b5
Author: Ingvar Stepanyan <me at rreverser.com>
Date: Wed Jul 23 21:11:50 2014 +0300
Added ES6-specific Function properties.
---
acorn.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/acorn.js b/acorn.js
index b866d70..2aa13ec 100644
--- a/acorn.js
+++ b/acorn.js
@@ -1782,8 +1782,10 @@
node.params = [];
if (options.ecmaVersion >= 6) {
node.defaults = [];
+ node.rest = null;
+ node.generator = false;
+ node.expression = false;
}
- node.rest = null;
expect(_parenL);
for (;;) {
if (eat(_parenR)) {
--
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