- added assertion

This commit is contained in:
liana authored and Liana Husikyan committed 2015-02-09 02:25:18 +01:00
1 parent 97b443e181
commit 516e46ea6b
1 file changed
+1
+1
View File
@@ -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