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
@@ -65,51 +65,27 @@
// {
// switch f1
// case 0 {
// if f2
// {
// rf := f3
// }
// if not(f2)
// {
// rf := f1
// }
// }
// default {
// rf := 3
// if f2 { rf := f3 }
// if not(f2) { rf := f1 }
// }
// default { rf := 3 }
// }
// function g(g1, g2, g3) -> rg
// {
// switch g1
// case 0 {
// if g2
// {
// rg := g3
// }
// if not(g2)
// {
// rg := g1
// }
// }
// default {
// rg := 3
// if g2 { rg := g3 }
// if not(g2) { rg := g1 }
// }
// default { rg := 3 }
// }
// function h(h1, h2, h3) -> rh
// {
// switch h1
// case 1 {
// if h2
// {
// rh := h3
// }
// if not(h2)
// {
// rh := h1
// }
// }
// default {
// rh := 3
// if h2 { rh := h3 }
// if not(h2) { rh := h1 }
// }
// default { rh := 3 }
// }
// }