Article View: gnu.utils.bug
Article #241indent-1.5 indents if-block `{' by 4 spaces (should be 2)
From: Jim Meyering
Date: Sun, 09 Aug 1992 08:20
Date: Sun, 09 Aug 1992 08:20
22 lines
975 bytes
975 bytes
Hi,
indent-1.5 -gnu seems broken. The following single line
is turned into the code below it.
int main() { if (foo) { bar (); } return 0; }
int
main ()
{
if (foo)
{
bar ();
} return 0;
}
I don't mind the `return 0;' being on the same line as the
closing brace (since it started that way) but the 4-space
indentation of the if-block is wrong.
Jim Meyering | Member of the League for Programming Freedom
meyering@cs.utexas.edu | Contact me or league@prep.ai.mit.edu for more info.
Technical Details
Message-ID:
<9208091820.AA25285@ai.cs.utexas.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.utexas.edu!meyeringShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cs.utexas.edu!meyering
From: meyering@cs.utexas.edu (Jim Meyering)
Subject: indent-1.5 indents if-block `{' by 4 spaces (should be 2)
Message-ID: <9208091820.AA25285@ai.cs.utexas.edu>
Sender: gnulists@ai.mit.edu
Organization: U of TX at Austin CS Dept
Distribution: gnu
Date: Sun, 9 Aug 1992 08:20:15 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 23