Fix bug in benchmark

Since previous commit, Acorn is no longer properly benchmarked
when locations are on.
This commit is contained in:
Marijn Haverbeke 2012-10-02 20:22:02 +02:00
parent 4472608994
commit e864318883

View File

@ -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});