diff options
author | liana <liana@ethdev.com> | 2015-02-06 23:57:26 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-02-09 09:25:18 +0800 |
commit | 516e46ea6b6041ef1fe1e8070d3fc3063baceef6 (patch) | |
tree | 3b6a804a2a7ac0ad1f76d48a1992aee61d83ff72 | |
parent | 97b443e1812a4b5564191db7123442882f0db8f7 (diff) | |
download | dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar.gz dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar.bz2 dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar.lz dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar.xz dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.tar.zst dexon-solidity-516e46ea6b6041ef1fe1e8070d3fc3063baceef6.zip |
- added assertion
-rw-r--r-- | Parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |