diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 00:31:06 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 00:31:06 +0800 |
commit | fb328b778cdd0c6022ce072689cb3d8b333232f8 (patch) | |
tree | 37fa70e738e2df43d1f912ff5cc4b02af39472fd /Compiler.cpp | |
parent | 12c32392abc4af2f7da0793e178705c55c742e79 (diff) | |
download | dexon-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.cpp | 2 |
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()); |