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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart

Issue 11092101: Diagnose unbalanced parentheses better. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart b/dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart
index d1e00998dbef7f07b1f490cc82eb5c3fd120f36b..ea84f759473867904e08ad1769efb709c7bf92a3 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/scanner/array_based_scanner.dart
@@ -68,8 +68,7 @@ class ArrayBasedScanner<S extends SourceString> extends AbstractScanner<S> {
tail.next = tail;
discardOpenLt();
while (!groupingStack.isEmpty) {
- BeginGroupToken begin = groupingStack.head;
- begin.endGroup = tail;
+ unmatchedBeginGroup(groupingStack.head);
groupingStack = groupingStack.tail;
}
}
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698