missing 'new', thanks Mike
This commit is contained in:
parent
488f7b92ae
commit
986d00a5a0
|
@ -214,7 +214,7 @@ ParserRuleContext.prototype.getSourceInterval = function() {
|
||||||
if( this.start === null || this.stop === null) {
|
if( this.start === null || this.stop === null) {
|
||||||
return INVALID_INTERVAL;
|
return INVALID_INTERVAL;
|
||||||
} else {
|
} else {
|
||||||
return Interval(this.start.tokenIndex, this.stop.tokenIndex);
|
return new Interval(this.start.tokenIndex, this.stop.tokenIndex);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue