Index: pkg/front_end/lib/src/fasta/scanner/recover.dart |
diff --git a/pkg/front_end/lib/src/fasta/scanner/recover.dart b/pkg/front_end/lib/src/fasta/scanner/recover.dart |
index e393e1387a081ddf4ec7ab2310ce04befdb062cd..3f272928ec963e7ec791758da9764c4f02228000 100644 |
--- a/pkg/front_end/lib/src/fasta/scanner/recover.dart |
+++ b/pkg/front_end/lib/src/fasta/scanner/recover.dart |
@@ -8,7 +8,7 @@ import '../../scanner/token.dart' show TokenType; |
import '../fasta_codes.dart' |
show |
- FastaCode, |
+ Code, |
codeAsciiControlCharacter, |
codeEncoding, |
codeExpectedHexDigit, |
@@ -172,7 +172,7 @@ Token defaultRecoveryStrategy( |
next = next.next; |
} while (next is ErrorToken && first.errorCode == next.errorCode); |
- FastaCode code = first.errorCode; |
+ Code code = first.errorCode; |
if (code == codeEncoding || |
code == codeNonAsciiWhitespace || |
code == codeAsciiControlCharacter) { |