Article View: gnu.utils.bug
Article #243indent-1.5 1st case label misaligned
From: Jim Meyering
Date: Sun, 09 Aug 1992 08:42
Date: Sun, 09 Aug 1992 08:42
37 lines
1091 bytes
1091 bytes
Given the properly formatted input,
void
bar (int foo)
{
switch (foo)
{
case 0:
abort ();
break;
default:
abort ();
}
}
indent-1.[45] (with -gnu -st options) produces the following.
The first case label is indented two spaces. If I add any
statements between the function's opening brace and the switch,
the problem goes away.
void
bar (int foo)
{
switch (foo)
{
case 0:
abort ();
break;
default:
abort ();
}
}
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:
<9208091842.AA25332@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 1st case label misaligned Message-ID: <9208091842.AA25332@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:42:54 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 38