Skip to content

update to v2.1.2 #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
update build
  • Loading branch information
iqbalnurhakim committed Jan 12, 2018
commit a37c579288daa4e20469f863fded24d76c89794a
4 changes: 2 additions & 2 deletions dist/TokenStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function () {
}, {
key: 'lookAhead',
value: function lookAhead() {
return new TokenStream(this.nodes.slice(1), this.parent);
return new TokenStream(this.nodes.slice(1), this.parent, this.ignoreToken);
}
}, {
key: SYMBOL_BASE_MATCH,
Expand Down Expand Up @@ -80,7 +80,7 @@ module.exports = function () {
value: function matchesFunction() {
var node = this.node;
if (node.type !== 'function') return null;
var value = new TokenStream(node.nodes, node);
var value = new TokenStream(node.nodes, node, this.ignoreToken);
this.nodes = this.nodes.slice(1);
this.lastFunction = value;
this.lastValue = null;
Expand Down