Index: pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart |
diff --git a/pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart b/pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart |
index 19955738e354e0261f236d139de9f5001078e31a..ead6e806508075a39bde64b7cc5e8a15878a0ccb 100644 |
--- a/pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart |
+++ b/pkg/front_end/lib/src/fasta/parser/token_stream_rewriter.dart |
@@ -28,7 +28,7 @@ class TokenStreamRewriter { |
/// stream whose first token is [firstToken]. |
TokenStreamRewriter(Token firstToken) |
: _head = firstToken.previousToken ?? |
- (new SymbolToken(EOF_INFO, -1)..next = firstToken); |
+ (new SymbolToken.eof(-1)..next = firstToken); |
/// Gets the first token in the stream (which may not be the same token that |
/// was passed to the constructor, if something was inserted before it). |