mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
- some more changes
This commit is contained in:
parent
bcccfa8805
commit
97b443e181
@ -267,6 +267,8 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp
|
|||||||
{
|
{
|
||||||
ASTNodeFactory nodeFactory(*this);
|
ASTNodeFactory nodeFactory(*this);
|
||||||
ASTPointer<TypeName> type = parseTypeName(_options.allowVar);
|
ASTPointer<TypeName> type = parseTypeName(_options.allowVar);
|
||||||
|
if (type != nullptr)
|
||||||
|
nodeFactory.setEndPositionFromNode(type);
|
||||||
bool isIndexed = false;
|
bool isIndexed = false;
|
||||||
ASTPointer<ASTString> identifier;
|
ASTPointer<ASTString> identifier;
|
||||||
Token::Value token = m_scanner->getCurrentToken();
|
Token::Value token = m_scanner->getCurrentToken();
|
||||||
|
Loading…
Reference in New Issue
Block a user