ES6 template literals should not use legacy octal strings
authorarv <arv@chromium.org>
Thu, 18 Dec 2014 19:41:37 +0000 (11:41 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Dec 2014 19:41:58 +0000 (19:41 +0000)
commitc05a4036b04f331196b2f84b7cbd03dee4e63058
tree0e703222246c3d2bd3a65d4a73f31e23a2eda1df
parente89318138c11a9fba3ffeaee103506ed5c1f84f6
ES6 template literals should not use legacy octal strings

Correctly handle SyntaxErrors in escape sequences.

BUG=v8:3736
LOG=Y
R=dslomov@chromium.org, caitpotter88@gmail.com

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

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