| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
We indent case one level beneath switch(), and the code within each case beneath the case. Each case should have one line of vertical whitespace above it:
switch(foo) {
case some_const:
foo();
break;
case some_other_const:
bar();
break;
default:
exit(1);
break;
}
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by John P. Willis on October 17, 2020 using texi2html 1.82.