home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: 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
-
- 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
-
-