From 516e46ea6b6041ef1fe1e8070d3fc3063baceef6 Mon Sep 17 00:00:00 2001 From: liana Date: Fri, 6 Feb 2015 16:57:26 +0100 Subject: [PATCH] - added assertion --- Parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Parser.cpp b/Parser.cpp index a542d9b70..4d5a50b3c 100644 --- a/Parser.cpp +++ b/Parser.cpp @@ -284,6 +284,7 @@ ASTPointer Parser::parseVariableDeclaration(VarDeclParserOp if (_options.allowEmptyName && m_scanner->getCurrentToken() != Token::IDENTIFIER) { identifier = make_shared(""); + solAssert(!!type, ""); nodeFactory.setEndPositionFromNode(type); } else