Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Issue 812163003: Simplify scanner and generate better error message for legacy octals in templates (Closed)

Created:
6 years ago by caitp (gmail)
Modified:
6 years ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Simplify scanner and generate better error message for legacy octals in templates LOG=N BUG= R=arv@chromium.org, dslomov@chromium.org Committed: https://crrev.com/233f2d2bf133fef3d9db5cb8cacc903f1a22b45a Cr-Commit-Position: refs/heads/master@{#25895}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add new error message #

Total comments: 1

Patch Set 3 : Update the comment, churn the butter #

Patch Set 4 : Rebase it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -36 lines) Patch
M src/messages.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/parser.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/preparser.h View 1 2 5 chunks +18 lines, -5 lines 0 comments Download
M src/preparser.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/scanner.cc View 2 chunks +3 lines, -23 lines 0 comments Download
M test/mjsunit/harmony/templates.js View 2 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
caitp (gmail)
PTAL Trying to make octal treatment consistent with behaviour in strict mode, simplify scanning, and ...
6 years ago (2014-12-18 20:29:13 UTC) #1
arv (Not doing code reviews)
https://codereview.chromium.org/812163003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/812163003/diff/1/src/preparser.h#newcode2849 src/preparser.h:2849: CheckOctalLiteral(pos, peek_position(), CHECK_OK); CheckOctalLiteral needs to be updated to ...
6 years ago (2014-12-18 20:38:51 UTC) #2
caitp (gmail)
https://codereview.chromium.org/812163003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/812163003/diff/1/src/preparser.h#newcode2849 src/preparser.h:2849: CheckOctalLiteral(pos, peek_position(), CHECK_OK); On 2014/12/18 20:38:51, arv wrote: > ...
6 years ago (2014-12-18 20:44:18 UTC) #3
arv (Not doing code reviews)
I agree that this is a cleaner approach. https://codereview.chromium.org/812163003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/812163003/diff/1/src/preparser.h#newcode2849 src/preparser.h:2849: CheckOctalLiteral(pos, ...
6 years ago (2014-12-18 20:46:58 UTC) #4
caitp (gmail)
https://codereview.chromium.org/812163003/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/812163003/diff/1/src/preparser.h#newcode2849 src/preparser.h:2849: CheckOctalLiteral(pos, peek_position(), CHECK_OK); On 2014/12/18 20:46:58, arv wrote: > ...
6 years ago (2014-12-18 21:09:50 UTC) #5
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/812163003/diff/20001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/812163003/diff/20001/src/preparser.h#newcode388 src/preparser.h:388: // If so, reports an error. Only called ...
6 years ago (2014-12-18 21:31:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/812163003/60001
6 years ago (2014-12-18 21:34:51 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-18 22:01:35 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-18 22:01:52 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/233f2d2bf133fef3d9db5cb8cacc903f1a22b45a
Cr-Commit-Position: refs/heads/master@{#25895}

Powered by Google App Engine
This is Rietveld 408576698