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

Issue 10020008: Adds parser recovery to the class right brace and handles stray semicolons in a class (Closed)

Created:
8 years, 8 months ago by zundel
Modified:
8 years, 8 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Adds parser recovery to the class right brace and handles stray semicolons in a class I modified 'expectCloseBrace()' to not be so greedy of no opening brace was ever seen. Committed: https://code.google.com/p/dart/source/detail?r=6370

Patch Set 1 #

Total comments: 1

Patch Set 2 : # #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -35 lines) Patch
M compiler/java/com/google/dart/compiler/parser/DartParser.java View 9 chunks +47 lines, -35 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/parser/ParserRecoveryTest.java View 1 2 chunks +257 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
zundel
https://chromiumcodereview.appspot.com/10020008/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): https://chromiumcodereview.appspot.com/10020008/diff/1/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode668 compiler/java/com/google/dart/compiler/parser/DartParser.java:668: parseClassOrInterfaceBody(members); This is artificially split out just to use ...
8 years, 8 months ago (2012-04-08 13:18:30 UTC) #1
scheglov
8 years, 8 months ago (2012-04-09 14:39:12 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698