Index: sdk/lib/_internal/compiler/implementation/scanner/parser.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart |
index 79eae5e5d305f0bef7579c65a33ff7218226471c..47dba975657c15ed9b8b2f1f36df3832685a5bde 100644 |
--- a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart |
+++ b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart |
@@ -637,12 +637,12 @@ class Parser { |
} while (optional(',', token)); |
Token next = token.next; |
if (identical(token.stringValue, '>>')) { |
- token = new Token(GT_INFO, token.charOffset); |
- token.next = new Token(GT_INFO, token.charOffset + 1); |
+ token = new SymbolToken(GT_INFO, token.charOffset); |
+ token.next = new SymbolToken(GT_INFO, token.charOffset + 1); |
token.next.next = next; |
} else if (identical(token.stringValue, '>>>')) { |
- token = new Token(GT_INFO, token.charOffset); |
- token.next = new Token(GT_GT_INFO, token.charOffset + 1); |
+ token = new SymbolToken(GT_INFO, token.charOffset); |
+ token.next = new SymbolToken(GT_GT_INFO, token.charOffset + 1); |
token.next.next = next; |
} |
endStuff(count, begin, token); |