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

Issue 3137037: Ensure that scanner state is correctly reset when an error is encountered. (Closed)

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

Description

Ensure that scanner state is correctly reset when an error is encountered. Add a scope object to ensure that leaving a literal scanning prematurely will clean up after itself. Also reset the literal buffer if a scanner is reinitialized with a new source code.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -33 lines) Patch
M src/scanner.h View 3 chunks +22 lines, -0 lines 2 comments Download
M src/scanner.cc View 17 chunks +60 lines, -33 lines 0 comments Download
M src/utils.h View 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
10 years, 4 months ago (2010-08-24 12:12:16 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/3137037/diff/1/3 File src/scanner.h (right): http://codereview.chromium.org/3137037/diff/1/3#newcode280 src/scanner.h:280: private: Strange spacing going on here. Please add ...
10 years, 4 months ago (2010-08-24 12:19:32 UTC) #2
Lasse Reichstein
10 years, 4 months ago (2010-08-24 12:30:21 UTC) #3

Powered by Google App Engine
This is Rietveld 408576698