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

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

Issue 2767083002: fasta scanner recovery and error code translation improvements (Closed)
Patch Set: revert address comments and fix for token_stream_rewriter test 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
« no previous file with comments | « pkg/front_end/test/scanner_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « 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