aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-02-21 06:04:32 +0800
committerLiana Husikyan <liana@ethdev.com>2015-02-21 06:04:32 +0800
commitfa3cd1cdc2b9e328e46508de6cd4b0fdaab62f84 (patch)
tree2078126709410b7c882f93f43f2c0822748da419 /ExpressionCompiler.cpp
parentd0c36795a0998f9ad143c01882cb33334cbd471c (diff)
downloaddexon-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.cpp6
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)