diff options
author | Gav Wood <g@ethdev.com> | 2014-10-30 02:07:39 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2014-10-30 02:07:39 +0800 |
commit | 5110ffe3044a6c362ef29b33bc67c6d08c783451 (patch) | |
tree | 815155595d03397b2e9932ad1f3afc0b295a0f01 | |
parent | 4c895be53f3cc4b10c04a6c5ce7510548516012d (diff) | |
parent | 3f4befd6b4ee53d5972462af8083b41ab508acea (diff) | |
download | dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar.gz dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar.bz2 dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar.lz dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar.xz dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.tar.zst dexon-solidity-5110ffe3044a6c362ef29b33bc67c6d08c783451.zip |
Merge pull request #442 from chriseth/sol_fix_break
Parser fix: Consume break and continue.
-rw-r--r-- | solidityParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityParser.cpp b/solidityParser.cpp index 025cd74d..701a6e76 100644 --- a/solidityParser.cpp +++ b/solidityParser.cpp @@ -185,7 +185,7 @@ BOOST_AUTO_TEST_CASE(while_loop) { char const* text = "contract test {\n" " function fun(uint256 a) {\n" - " uint256 x = (1 + 4).member(++67) || true;\n" + " while (true) { uint256 x = 1; break; continue; } x = 9;\n" " }\n" "}\n"; BOOST_CHECK_NO_THROW(parseText(text)); |