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

Unified Diff: pkg/fasta/lib/src/source/scope_listener.dart

Issue 2650813002: Restructure parser error handling and recovery. (Closed)
Patch Set: Address comments. Created 3 years, 11 months 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 | « pkg/fasta/lib/src/source/diet_parser.dart ('k') | pkg/fasta/lib/src/source/stack_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/lib/src/source/scope_listener.dart
diff --git a/pkg/fasta/lib/src/source/scope_listener.dart b/pkg/fasta/lib/src/source/scope_listener.dart
index 5f0a4facd9fe6c44919fa7dc66161b01a2277090..ecdaf92eb0ff64081c49729336eec00e867c4315 100644
--- a/pkg/fasta/lib/src/source/scope_listener.dart
+++ b/pkg/fasta/lib/src/source/scope_listener.dart
@@ -7,9 +7,6 @@ library fasta.scope_listener;
import 'package:dart_scanner/src/token.dart' show
Token;
-import 'package:dart_parser/src/error_kind.dart' show
- ErrorKind;
-
import 'unhandled_listener.dart' show
NullValue,
UnhandledListener;
@@ -206,10 +203,4 @@ abstract class ScopeListener<J> extends UnhandledListener {
exitLocalScope();
push(body);
}
-
- @override
- void reportErrorHelper(Token token, ErrorKind kind, Map arguments) {
- super.reportErrorHelper(token, kind, arguments);
- debugEvent("error: ${recoverableErrors.last}");
- }
}
« no previous file with comments | « pkg/fasta/lib/src/source/diet_parser.dart ('k') | pkg/fasta/lib/src/source/stack_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698