Index: pkg/front_end/lib/src/scanner/token.dart |
diff --git a/pkg/front_end/lib/src/scanner/token.dart b/pkg/front_end/lib/src/scanner/token.dart |
index aa2a041bb3f0bc26adbed0db4231af7178df6cda..ec38b9ce0b59ba14ed871226fd850254c2450e29 100644 |
--- a/pkg/front_end/lib/src/scanner/token.dart |
+++ b/pkg/front_end/lib/src/scanner/token.dart |
@@ -1109,8 +1109,12 @@ class TokenType { |
isOperator: true); |
// This is not yet part of the language and not supported by fasta |
- static const TokenType AMPERSAND_AMPERSAND_EQ = |
- const TokenType('&&=', 'AMPERSAND_AMPERSAND_EQ', 1, -1); |
+ static const TokenType AMPERSAND_AMPERSAND_EQ = const TokenType( |
+ '&&=', |
+ 'AMPERSAND_AMPERSAND_EQ', |
+ ASSIGNMENT_PRECEDENCE, |
+ AMPERSAND_AMPERSAND_EQ_TOKEN, |
+ isOperator: true); |
static const TokenType AMPERSAND_EQ = const TokenType( |
'&=', 'AMPERSAND_EQ', ASSIGNMENT_PRECEDENCE, AMPERSAND_EQ_TOKEN, |
@@ -1139,8 +1143,9 @@ class TokenType { |
isOperator: true); |
// This is not yet part of the language and not supported by fasta |
- static const TokenType BAR_BAR_EQ = |
- const TokenType('||=', 'BAR_BAR_EQ', 1, -1); |
+ static const TokenType BAR_BAR_EQ = const TokenType( |
+ '||=', 'BAR_BAR_EQ', ASSIGNMENT_PRECEDENCE, BAR_BAR_EQ_TOKEN, |
+ isOperator: true); |
static const TokenType BAR_EQ = const TokenType( |
'|=', 'BAR_EQ', ASSIGNMENT_PRECEDENCE, BAR_EQ_TOKEN, |