Skip to content

Commit ce9c657

Browse files
committed
glayzzle#138 - fix arguments injection
1 parent 005b586 commit ce9c657

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ast/program.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const Program = Block.extends(function Program(
1919
children,
2020
errors,
2121
comments,
22-
docs,
2322
tokens,
23+
docs,
2424
location
2525
) {
2626
Block.apply(this, [KIND, children, docs, location]);

src/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ parser.prototype.parse = function(code, filename) {
278278
}
279279
}
280280
}
281-
return program(childs, this._errors, this._docs, null, this._tokens);
281+
return program(childs, this._errors, this._docs, this._tokens);
282282
};
283283

284284
/**

0 commit comments

Comments
 (0)