Browse Source

- added assertion

cl-refactor
liana 10 years ago
committed by Liana Husikyan
parent
commit
2c7bf41047
  1. 1
      libsolidity/Parser.cpp

1
libsolidity/Parser.cpp

@ -284,6 +284,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp
if (_options.allowEmptyName && m_scanner->getCurrentToken() != Token::IDENTIFIER)
{
identifier = make_shared<ASTString>("");
solAssert(!!type, "");
nodeFactory.setEndPositionFromNode(type);
}
else

Loading…
Cancel
Save