mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style
This commit is contained in:
parent
ca08fe50c6
commit
1fb7488671
@ -624,12 +624,8 @@ ASTPointer<Statement> Parser::parseStatement()
|
||||
}
|
||||
case Token::Throw:
|
||||
{
|
||||
ASTNodeFactory nodeFactory(*this);
|
||||
ASTPointer<Expression> expression;
|
||||
if (m_scanner->next() != Token::Semicolon)
|
||||
BOOST_THROW_EXCEPTION(createParserError("Expected semicolon."));
|
||||
|
||||
statement = nodeFactory.createNode<Throw>();
|
||||
statement = ASTNodeFactory(*this).createNode<Throw>();
|
||||
m_scanner->next();
|
||||
break;
|
||||
}
|
||||
case Token::Identifier:
|
||||
|
Loading…
Reference in New Issue
Block a user