aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-25 00:31:06 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-25 00:31:06 +0800
commitfb328b778cdd0c6022ce072689cb3d8b333232f8 (patch)
tree37fa70e738e2df43d1f912ff5cc4b02af39472fd /Compiler.cpp
parent12c32392abc4af2f7da0793e178705c55c742e79 (diff)
downloaddexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar.gz
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar.bz2
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar.lz
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar.xz
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.tar.zst
dexon-solidity-fb328b778cdd0c6022ce072689cb3d8b333232f8.zip
Changes after rebase on top of Array Parsing
Diffstat (limited to 'Compiler.cpp')
-rw-r--r--Compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler.cpp b/Compiler.cpp
index e4a5c4f0..9cef1f2a 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -473,7 +473,7 @@ bool Compiler::visit(Return const& _return)
bool Compiler::visit(VariableDeclarationStatement const& _variableDeclarationStatement)
{
StackHeightChecker checker(m_context);
- CompilerContext::LocationSetter locationSetter(m_context, &_variableDefinition);
+ CompilerContext::LocationSetter locationSetter(m_context, &_variableDeclarationStatement);
if (Expression const* expression = _variableDeclarationStatement.getExpression())
{
compileExpression(*expression, _variableDeclarationStatement.getDeclaration().getType());