mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes.
This commit is contained in:
parent
2ff4a80b62
commit
db263bd9d7
@ -748,10 +748,9 @@ pair<vector<ASTPointer<Expression>>, vector<ASTPointer<ASTString>>> Parser::pars
|
||||
expectToken(Token::LBRACE);
|
||||
while (m_scanner->getCurrentToken() != Token::RBRACE)
|
||||
{
|
||||
expectToken(Token::COLON);
|
||||
|
||||
ret.first.push_back(parseExpression());
|
||||
ret.second.push_back(expectIdentifierToken());
|
||||
expectToken(Token::COLON);
|
||||
ret.first.push_back(parseExpression());
|
||||
|
||||
if (m_scanner->getCurrentToken() == Token::COMMA)
|
||||
expectToken(Token::COMMA);
|
||||
|
Loading…
Reference in New Issue
Block a user