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 bddb2a6227f30294cb059dae24e69a648b371264..e14fd2307b8e13771c3b7cfe3ac72a4e785864d7 100644 |
--- a/pkg/front_end/lib/src/fasta/scanner/recover.dart |
+++ b/pkg/front_end/lib/src/fasta/scanner/recover.dart |
@@ -133,8 +133,7 @@ Token defaultRecoveryStrategy( |
} |
recoverString() { |
- // TODO(ahe): Improve this. |
- return skipToEof(errorTail); |
+ return errorTail.next; |
} |
recoverHexDigit() { |