Article View: gnu.utils.bug
Article #726indent 1.6 and typedef
From: Charlie Xiaoli Huang
Date: Thu, 03 Sep 1992 17:07
Date: Thu, 03 Sep 1992 17:07
32 lines
963 bytes
963 bytes
Hi,
I installed indent 1.6 on a Sun IPC runnning 4.1.1 and
using gcc 2.2.2. Everything seemed fine except for the
following annoying "feature": it forces a newline after
each of of typedef.
For example:
original:
typedef struct foo {
int bar;
} foo_t;
The outcome will always become
typedef struct foo {
int bar;
}
foo_t;
(the placement of braces and indentations are subject to
options and indent.pro, but the newline is always forced
before "foo_t").
Anyway I can turn this off? RTFM didn't help much on this
"feature".
Thanks,
hxl
Technical Details
Message-ID:
<9209031707.AA11529@chopin.epic>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!chopin.UUCP!hxlShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!chopin.UUCP!hxl From: hxl@chopin.UUCP (Charlie Xiaoli Huang) Subject: indent 1.6 and typedef Message-ID: <9209031707.AA11529@chopin.epic> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 3 Sep 1992 17:07:34 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 33