diff options
author | Gav Wood <i@gavwood.com> | 2014-05-30 02:30:56 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-05-30 02:30:56 +0800 |
commit | 72265ac38ad65b0adc07e7ea7ece26baea9b356c (patch) | |
tree | 34f70baf277fefded337d32fdf4cb9ef7a669124 | |
parent | 009b25d043adc8f165de525eecc19702d105c125 (diff) | |
download | dexon-solidity-72265ac38ad65b0adc07e7ea7ece26baea9b356c.tar.gz dexon-solidity-72265ac38ad65b0adc07e7ea7ece26baea9b356c.tar.zst dexon-solidity-72265ac38ad65b0adc07e7ea7ece26baea9b356c.zip |
Fix for unless/when.
-rw-r--r-- | CodeFragment.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CodeFragment.cpp b/CodeFragment.cpp index 299cda5f..f30fba95 100644 --- a/CodeFragment.cpp +++ b/CodeFragment.cpp @@ -385,7 +385,8 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s) auto end = m_asm.appendJumpI(); m_asm.onePath(); m_asm.otherPath(); - m_asm << code[1].m_asm << end.tag(); + m_asm.append(code[1].m_asm, 0); + m_asm << end.tag(); m_asm.donePaths(); } else if (us == "WHILE") |