esprima
esprima copied to clipboard
range is incorrect
I have some code here: https://github.com/ariovistus/esprima-bug
test.js uses esprima 4.0.1 to parse tok.js and outputs
define "urijs" 2250,2265
which is the position of the last part of tok.js, define("urijs"), as reported by esprima. but it is wrong, the actual position should be 2272