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

Issue 11092101: Diagnose unbalanced parentheses better. (Closed)

Created:
8 years, 2 months ago by ahe
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Diagnose unbalanced parentheses better. Committed: https://code.google.com/p/dart/source/detail?r=15386

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart View 1 1 chunk +5 lines, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/scanner/string_scanner.dart View 1 1 chunk +17 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart View 1 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
ahe
This fixes http://dartbug.com/5829. Tested by looking at the error message. In addition, this code is ...
8 years, 2 months ago (2012-10-12 11:21:06 UTC) #1
floitsch
8 years, 2 months ago (2012-10-12 12:23:28 UTC) #2
LGTM.

https://codereview.chromium.org/11092101/diff/1/dart/lib/compiler/implementat...
File dart/lib/compiler/implementation/scanner/token.dart (right):

https://codereview.chromium.org/11092101/diff/1/dart/lib/compiler/implementat...
dart/lib/compiler/implementation/scanner/token.dart:143: if (info ==
BAD_INPUT_INFO) {
add comment why this is 1.

Powered by Google App Engine
This is Rietveld 408576698