forked from jasder/antlr
fix: no need to call RuleNode class as prototype chain is enough
This commit is contained in:
parent
5e42c49ced
commit
577a9b82bc
|
@ -30,7 +30,7 @@ var INVALID_INTERVAL = require('./tree/Tree').INVALID_INTERVAL;
|
|||
var INVALID_ALT_NUMBER = require('./atn/ATN').INVALID_ALT_NUMBER;
|
||||
|
||||
function RuleContext(parent, invokingState) {
|
||||
RuleNode.call(this);
|
||||
//RuleNode.call(this);
|
||||
// What context invoked this rule?
|
||||
this.parentCtx = parent || null;
|
||||
// What state invoked the rule associated with this context?
|
||||
|
|
Loading…
Reference in New Issue