diff options
author | Gav Wood <i@gavwood.com> | 2015-02-04 04:45:16 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-02-04 04:45:16 +0800 |
commit | db263bd9d751f69f9d8d9484ff916d38b86c68c4 (patch) | |
tree | cb78389c993932092082f6753c30b8303e5ef0a2 | |
parent | 2ff4a80b6266a6bcd22ef6cbb654f90fc84f9276 (diff) | |
download | dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar.gz dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar.bz2 dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar.lz dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar.xz dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.tar.zst dexon-solidity-db263bd9d751f69f9d8d9484ff916d38b86c68c4.zip |
Fixes.
-rw-r--r-- | Parser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -748,10 +748,9 @@ pair<vector<ASTPointer<Expression>>, vector<ASTPointer<ASTString>>> Parser::pars expectToken(Token::LBRACE); while (m_scanner->getCurrentToken() != Token::RBRACE) { + ret.second.push_back(expectIdentifierToken()); expectToken(Token::COLON); - ret.first.push_back(parseExpression()); - ret.second.push_back(expectIdentifierToken()); if (m_scanner->getCurrentToken() == Token::COMMA) expectToken(Token::COMMA); |