style fixes

This commit is contained in:
LianaHus
2015-09-16 13:25:32 +02:00
parent 279a36b6f8
commit ca08fe50c6
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -627,9 +627,9 @@ ASTPointer<Statement> Parser::parseStatement()
ASTNodeFactory nodeFactory(*this);
ASTPointer<Expression> expression;
if (m_scanner->next() != Token::Semicolon)
BOOST_THROW_EXCEPTION(createParserError("Throw statement cannot have parameters."));
BOOST_THROW_EXCEPTION(createParserError("Expected semicolon."));
statement = nodeFactory.createNode<Throw>(/*expression*/);
statement = nodeFactory.createNode<Throw>();
break;
}
case Token::Identifier: