Index: pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart |
diff --git a/pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart b/pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart |
index 995597f98eb18270a551938e840be36b2986aae5..f98242cda29804f83b275aafc50dd5767b6e0a78 100644 |
--- a/pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart |
+++ b/pkg/front_end/lib/src/fasta/scanner/abstract_scanner.dart |
@@ -42,7 +42,7 @@ abstract class AbstractScanner implements Scanner { |
* is not exposed to clients of the scanner, which are expected to invoke |
* [firstToken] to access the token stream. |
*/ |
- final Token tokens = new SymbolToken(EOF_INFO, -1); |
+ final Token tokens = new SymbolToken.eof(-1); |
/** |
* A pointer to the last scanned token. |