Useful information for code completion

This commit is contained in:
Eric Vergnaud 2015-10-04 11:44:26 +08:00
parent a3b27766fa
commit 1b01140354
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ Parser.prototype.consume = function() {
} else {
node = this._ctx.addTokenNode(o);
}
node.invokingState = this.state;
if (hasListener) {
this._parseListeners.map(function(listener) {
listener.visitTerminal(node);