| 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 dd7bb540c1893ed9134591f916ff800244c3730d..9e7aaafa58b41d3450e026e128771774e49137ad 100644
|
| --- a/pkg/front_end/lib/src/fasta/scanner/recover.dart
|
| +++ b/pkg/front_end/lib/src/fasta/scanner/recover.dart
|
| @@ -22,7 +22,7 @@ import '../fasta_codes.dart'
|
|
|
| import '../../scanner/token.dart' show Token;
|
|
|
| -import 'token.dart' show StringToken, SymbolToken;
|
| +import 'token.dart' show StringToken;
|
|
|
| import 'error_token.dart' show NonAsciiIdentifierToken, ErrorToken;
|
|
|
| @@ -216,7 +216,7 @@ Token defaultRecoveryStrategy(
|
| goodTail = current;
|
| }
|
|
|
| - error.previous = new SymbolToken.eof(-1)..next = error;
|
| + error.previous = new Token.eof(-1)..next = error;
|
| Token tail;
|
| if (good != null) {
|
| errorTail.next = good;
|
| @@ -225,7 +225,7 @@ Token defaultRecoveryStrategy(
|
| } else {
|
| tail = errorTail;
|
| }
|
| - if (!tail.isEof) tail.next = new SymbolToken.eof(tail.end)..previous = tail;
|
| + if (!tail.isEof) tail.next = new Token.eof(tail.end)..previous = tail;
|
| return error;
|
| }
|
|
|
|
|