Description[parser] Correctly handle invalid escapes in adjacent template tokens.
A previous patch lifting the restriction on invalid escape sequences in
tagged templates had a bug when two template tokens appeared immediately
adject to each other. This moves invalid escape information from the
tokenizer state proper into the TokenDesc, preventing the overwriting
which caused this issue.
Previous CL is at
https://codereview.chromium.org/2665513002
BUG=v8:6029, v8:5546
Review-Url: https://codereview.chromium.org/2724003006
Cr-Commit-Position: refs/heads/master@{#43596}
Committed: https://chromium.googlesource.com/v8/v8/+/baa74e89b6927917f911aab0e0823c8e0234aaa2
Patch Set 1 #
Total comments: 5
Patch Set 2 : drop underscore #Patch Set 3 : MoveErrorTo takes a TokenDesc* #
Messages
Total messages: 17 (10 generated)
|