diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-02-21 06:04:32 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-02-21 06:04:32 +0800 |
commit | fa3cd1cdc2b9e328e46508de6cd4b0fdaab62f84 (patch) | |
tree | 2078126709410b7c882f93f43f2c0822748da419 /ExpressionCompiler.cpp | |
parent | d0c36795a0998f9ad143c01882cb33334cbd471c (diff) | |
download | dexon-solidity-fa3cd1cdc2b9e328e46508de6cd4b0fdaab62f84.tar.gz dexon-solidity-fa3cd1cdc2b9e328e46508de6cd4b0fdaab62f84.tar.zst dexon-solidity-fa3cd1cdc2b9e328e46508de6cd4b0fdaab62f84.zip |
renamed local vaiable in fromDeclaration
added missing endvisit
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index e76a8a79..461dfef1 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -68,9 +68,9 @@ void ExpressionCompiler::appendStateVariableInitialization(CompilerContext& _con void ExpressionCompiler::appendStateVariableInitialization(VariableDeclaration const& _varDecl) { - LValue lvalue = LValue(m_context); - lvalue.fromDeclaration(_varDecl, _varDecl.getValue()->getLocation()); - lvalue.storeValue(*_varDecl.getType(), _varDecl.getLocation()); + LValue var = LValue(m_context); + var.fromDeclaration(_varDecl, _varDecl.getValue()->getLocation()); + var.storeValue(*_varDecl.getType(), _varDecl.getLocation()); } bool ExpressionCompiler::visit(Assignment const& _assignment) |