Simplify scanner and generate better error message for legacy octals in templates
authorcaitpotter88 <caitpotter88@gmail.com>
Thu, 18 Dec 2014 22:01:25 +0000 (14:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Dec 2014 22:01:41 +0000 (22:01 +0000)
commit233f2d2bf133fef3d9db5cb8cacc903f1a22b45a
tree80d7260640088d0a8487f058f474a02ffcfaf642
parentb494f5cdb8557f9d96bb9c1bcadc2d9424ef8bba
Simplify scanner and generate better error message for legacy octals in templates

LOG=N
BUG=
R=arv@chromium.org, dslomov@chromium.org

Review URL: https://codereview.chromium.org/812163003

Cr-Commit-Position: refs/heads/master@{#25895}
src/messages.js
src/parser.cc
src/preparser.cc
src/preparser.h
src/scanner.cc
test/mjsunit/harmony/templates.js