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

Unified Diff: pkg/front_end/tool/fasta_perf.dart

Issue 2767083002: fasta scanner recovery and error code translation improvements (Closed)
Patch Set: merge Created 3 years, 9 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
Index: pkg/front_end/tool/fasta_perf.dart
diff --git a/pkg/front_end/tool/fasta_perf.dart b/pkg/front_end/tool/fasta_perf.dart
index d4e8f8f97ae28a2316c89471dd92b4cd1cbd7a7c..035a285a65d37478a6528fb37439a26ef6c78bf7 100644
--- a/pkg/front_end/tool/fasta_perf.dart
+++ b/pkg/front_end/tool/fasta_perf.dart
@@ -168,7 +168,7 @@ Set<String> extractDirectiveUris(List<int> contents) {
class DirectiveParser extends ClassMemberParser {
DirectiveParser(listener) : super(listener);
- static final _endToken = new SymbolToken(EOF_INFO, -1);
+ static final _endToken = new SymbolToken.eof(-1);
Token parseClassOrNamedMixinApplication(Token token) => _endToken;
Token parseEnum(Token token) => _endToken;
« pkg/front_end/lib/src/scanner/errors.dart ('K') | « pkg/front_end/test/scanner_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698