We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf8861 commit 0ae7bc0Copy full SHA for 0ae7bc0
src/parser.js
@@ -220,6 +220,7 @@ parser.prototype.parse = function(code) {
220
this.lexer.comment_tokens = this.extractDoc;
221
this.length = this.lexer._input.length;
222
this.nextWithComments();
223
+ this.innerList = false;
224
this.ast = ['program', []];
225
while(this.token != this.EOF) {
226
var node = this.read_start();
src/parser/expr.js
@@ -107,6 +107,7 @@ module.exports = {
107
var result = this.node('list');
108
this.next().expect('(').next();
109
var isInner = this.innerList;
110
+
111
if (!this.innerList) this.innerList = true;
112
var assignList = this.read_assignment_list();
113
0 commit comments