indent(1): correctly handle case/label at the very start of a function
Obtained from: NetBSD (rev. 1.11 of indent.c) MFC after: 1 week
This commit is contained in:
@@ -675,7 +675,7 @@ main(int argc, char **argv)
|
||||
ps.want_blank = true;
|
||||
break;
|
||||
}
|
||||
if (ps.in_decl) {
|
||||
if (ps.in_or_st) {
|
||||
*e_code++ = ':';
|
||||
ps.want_blank = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user