Fix bug in benchmark
Since previous commit, Acorn is no longer properly benchmarked when locations are on.
This commit is contained in:
parent
4472608994
commit
e864318883
@ -35,7 +35,7 @@ numbers.</p>
|
||||
|
||||
<script>
|
||||
function runAcorn(code, locations) {
|
||||
acorn.parse(code, {linePositions: locations});
|
||||
acorn.parse(code, {locations: locations});
|
||||
}
|
||||
function runEsprima(code, locations) {
|
||||
esprima.parse(code, {loc: locations});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user