Format short blocks and loops on a single line.

This commit is contained in:
chriseth
2019-05-08 13:28:00 +02:00
parent 6c9c54a657
commit 0532a8cef2
180 changed files with 338 additions and 1089 deletions
+2 -6
View File
@@ -228,14 +228,10 @@ BOOST_AUTO_TEST_CASE(to_string)
string expectation = R"(object "O" {
code {
let x := mload(0)
if x
{
sstore(0, 1)
}
if x { sstore(0, 1) }
}
object "i" {
code {
}
code { }
data "j" hex"646566"
}
data "j" hex"616263"