Remove Token::{startLoc,endLoc} so they don't appear in next release.
This commit is contained in:
parent
caa5da6ce1
commit
555c7898c8
3
acorn.js
3
acorn.js
@ -200,9 +200,6 @@
|
|||||||
if (options.locations) {
|
if (options.locations) {
|
||||||
this.loc = new SourceLocation();
|
this.loc = new SourceLocation();
|
||||||
this.loc.end = tokEndLoc;
|
this.loc.end = tokEndLoc;
|
||||||
// TODO: remove in next major release
|
|
||||||
this.startLoc = tokStartLoc;
|
|
||||||
this.endLoc = tokEndLoc;
|
|
||||||
}
|
}
|
||||||
if (options.ranges)
|
if (options.ranges)
|
||||||
this.range = [tokStart, tokEnd];
|
this.range = [tokStart, tokEnd];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user