mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
new ForStatement parsing test and small grammar fix
This commit is contained in:
@@ -381,7 +381,6 @@ ASTPointer<ForStatement> Parser::parseForStatement()
|
||||
ASTPointer<Expression> conditionExpression = parseExpression();
|
||||
expectToken(Token::SEMICOLON);
|
||||
ASTPointer<ExpressionStatement> loopExpression = parseExpressionStatement();
|
||||
expectToken(Token::SEMICOLON);
|
||||
expectToken(Token::RPAREN);
|
||||
ASTPointer<Statement> body = parseStatement();
|
||||
nodeFactory.setEndPositionFromNode(body);
|
||||
|
||||
Reference in New Issue
Block a user