Index: pkg/analyzer/lib/src/generated/parser.dart |
diff --git a/pkg/analyzer/lib/src/generated/parser.dart b/pkg/analyzer/lib/src/generated/parser.dart |
index 3ddd7efea7c30244507161e9a68ecf4e0e23836c..76f9dc7e76e32af10ddc3113de95be5c22ab1a81 100644 |
--- a/pkg/analyzer/lib/src/generated/parser.dart |
+++ b/pkg/analyzer/lib/src/generated/parser.dart |
@@ -5859,12 +5859,12 @@ class Parser { |
_reportErrorForToken( |
ParserErrorCode.INVALID_AWAIT_IN_FOR, awaitKeyword); |
} |
- Token leftSeparator = _expect(TokenType.SEMICOLON); |
+ Token leftSeparator = _expectSemicolon(); |
Expression condition = null; |
if (!_matches(TokenType.SEMICOLON)) { |
condition = parseExpression2(); |
} |
- Token rightSeparator = _expect(TokenType.SEMICOLON); |
+ Token rightSeparator = _expectSemicolon(); |
List<Expression> updaters = null; |
if (!_matches(TokenType.CLOSE_PAREN)) { |
updaters = _parseExpressionList(); |