svn commit: r206386 - stable/7/usr.bin/indent
Andriy Gapon
avg at FreeBSD.org
Wed Apr 7 22:28:16 UTC 2010
Author: avg
Date: Wed Apr 7 22:28:16 2010
New Revision: 206386
URL: http://svn.freebsd.org/changeset/base/206386
Log:
MFC r205988: indent(1): correctly handle case/label at the very start of
a function
Modified:
stable/7/usr.bin/indent/indent.c
Directory Properties:
stable/7/usr.bin/indent/ (props changed)
Modified: stable/7/usr.bin/indent/indent.c
==============================================================================
--- stable/7/usr.bin/indent/indent.c Wed Apr 7 22:19:46 2010 (r206385)
+++ stable/7/usr.bin/indent/indent.c Wed Apr 7 22:28:16 2010 (r206386)
@@ -675,7 +675,7 @@ check_type:
ps.want_blank = true;
break;
}
- if (ps.in_decl) {
+ if (ps.in_or_st) {
*e_code++ = ':';
ps.want_blank = false;
break;
More information about the svn-src-stable-7
mailing list