From 603dc58040e62ef99d0a10084340dd4548a438a8 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 15 Dec 2015 15:46:03 +0100 Subject: Simple aliasing during import. --- libsolidity/parsing/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity/parsing') diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp index 2b856930..2b31c385 100644 --- a/libsolidity/parsing/Parser.cpp +++ b/libsolidity/parsing/Parser.cpp @@ -119,7 +119,7 @@ ASTPointer Parser::parseImportDirective() ASTNodeFactory nodeFactory(*this); expectToken(Token::Import); ASTPointer path; - ASTPointer unitAlias; + ASTPointer unitAlias = make_shared(); vector, ASTPointer>> symbolAliases; if (m_scanner->currentToken() == Token::StringLiteral) -- cgit v1.2.3