Browse Source

Fixes.

cl-refactor
Gav Wood 10 years ago
parent
commit
eb8b02d22f
  1. 3
      libsolidity/Parser.cpp

3
libsolidity/Parser.cpp

@ -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);

Loading…
Cancel
Save