improve error marker placement (#1644)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 24 Mar 2017 06:28:40 +0000 (14:28 +0800)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 06:28:40 +0000 (14:28 +0800)
commit2e0dc970037b3a22fb367ab77c5fe506317ee40b
tree881088cc1017036581c6301153bea8159ff8739c
parent701035621d708c39f4bdd2022fc02bdb4a967a39
improve error marker placement (#1644)

For AST_UnaryPrefix, points to the operator rather than end of expression.
lib/parse.js
test/mocha/cli.js