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

Issue 4112012: Stand-alone parser template. (Closed)

Created:
10 years, 1 month ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Stand-alone parser template. Uses existing Scanner and ParserLog. Generates same preparse-data as existing preparser. Committed: http://code.google.com/p/v8/source/detail?r=5750

Patch Set 1 #

Patch Set 2 : Added test case calling preparser outside of V8. #

Total comments: 24

Patch Set 3 : Addressed review comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1697 lines, -214 lines) Patch
M src/parser.h View 1 2 2 chunks +146 lines, -4 lines 0 comments Download
M src/parser.cc View 1 2 12 chunks +92 lines, -209 lines 0 comments Download
A src/preparser.h View 1 2 1 chunk +1428 lines, -0 lines 1 comment Download
M test/cctest/test-parsing.cc View 1 2 3 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Lasse Reichstein
10 years, 1 month ago (2010-11-01 13:34:51 UTC) #1
Mads Ager (chromium)
http://codereview.chromium.org/4112012/diff/3001/4001 File src/parser.cc (right): http://codereview.chromium.org/4112012/diff/3001/4001#newcode47 src/parser.cc:47: #include "preparser.h" Can you all this after platform.h to ...
10 years, 1 month ago (2010-11-01 14:04:27 UTC) #2
Lasse Reichstein
http://codereview.chromium.org/4112012/diff/3001/4001 File src/parser.cc (right): http://codereview.chromium.org/4112012/diff/3001/4001#newcode47 src/parser.cc:47: #include "preparser.h" Done. http://codereview.chromium.org/4112012/diff/3001/4001#newcode4937 src/parser.cc:4937: class LogAdapter : public ...
10 years, 1 month ago (2010-11-01 15:35:54 UTC) #3
Lasse Reichstein
Please review changes.
10 years, 1 month ago (2010-11-02 07:08:51 UTC) #4
Mads Ager (chromium)
10 years, 1 month ago (2010-11-02 07:17:03 UTC) #5
LGTM

http://codereview.chromium.org/4112012/diff/10001/11003
File src/preparser.h (right):

http://codereview.chromium.org/4112012/diff/10001/11003#newcode245
src/preparser.h:245: if (!*ok) return -1; \
Align the two '\'

Powered by Google App Engine
This is Rietveld 408576698