mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix for unless/when.
This commit is contained in:
parent
009b25d043
commit
72265ac38a
@ -385,7 +385,8 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s)
|
|||||||
auto end = m_asm.appendJumpI();
|
auto end = m_asm.appendJumpI();
|
||||||
m_asm.onePath();
|
m_asm.onePath();
|
||||||
m_asm.otherPath();
|
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();
|
m_asm.donePaths();
|
||||||
}
|
}
|
||||||
else if (us == "WHILE")
|
else if (us == "WHILE")
|
||||||
|
Loading…
Reference in New Issue
Block a user