svn commit: r206385 - stable/8/usr.bin/indent
Andriy Gapon
avg at FreeBSD.org
Wed Apr 7 22:19:46 UTC 2010
Author: avg
Date: Wed Apr 7 22:19:46 2010
New Revision: 206385
URL: http://svn.freebsd.org/changeset/base/206385
Log:
MFC r205988: indent(1): correctly handle case/label at the very start of a function
Modified:
stable/8/usr.bin/indent/indent.c
Directory Properties:
stable/8/usr.bin/indent/ (props changed)
Modified: stable/8/usr.bin/indent/indent.c
==============================================================================
--- stable/8/usr.bin/indent/indent.c Wed Apr 7 21:38:42 2010 (r206384)
+++ stable/8/usr.bin/indent/indent.c Wed Apr 7 22:19:46 2010 (r206385)
@@ -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
mailing list