Browse Source

- some more changes

cl-refactor
liana 10 years ago
committed by Liana Husikyan
parent
commit
5a3cc313f1
  1. 2
      libsolidity/Parser.cpp

2
libsolidity/Parser.cpp

@ -267,6 +267,8 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp
{
ASTNodeFactory nodeFactory(*this);
ASTPointer<TypeName> type = parseTypeName(_options.allowVar);
if (type != nullptr)
nodeFactory.setEndPositionFromNode(type);
bool isIndexed = false;
ASTPointer<ASTString> identifier;
Token::Value token = m_scanner->getCurrentToken();

Loading…
Cancel
Save