File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Compilers/CSharp/Portable/Parser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -9180,11 +9180,11 @@ private ForStatementSyntax ParseForStatement(SyntaxList<AttributeListSyntax> att
91809180 var openParen = this.EatToken(SyntaxKind.OpenParenToken);
91819181 var (variableDeclaration, initializers) = eatVariableDeclarationOrInitializers();
91829182
9183- // Pulled out as we need to track this when parsing incrementors to place skipped tokens.
91849183 var firstSemicolonToken = eatCommaOrSemicolon();
91859184 var condition = this.CurrentToken.Kind is not SyntaxKind.SemicolonToken and not SyntaxKind.CommaToken
91869185 ? this.ParseExpressionCore()
91879186 : null;
9187+ // Pulled out as we need to track this when parsing incrementors to place skipped tokens.
91889188 var secondSemicolonToken = eatCommaOrSemicolon();
91899189 // Do allow semicolons (with diagnostics) in the incrementors list. This allows us to consume
91909190 // accidental extra incrementors that should have been separated by commas.
You can’t perform that action at this time.
0 commit comments