Article View: gnu.utils.bug
Article #876spurious blank line from indent 1.6
From: David J. MacKenzie
Date: Thu, 08 Oct 1992 22:25
Date: Thu, 08 Oct 1992 22:25
27 lines
1121 bytes
1121 bytes
GNU indent 1.6 with args "-npro -gnu" gives for this input:
typedef struct PCB
{
int pid; /* Process ID. */
unsigned ss; /* Current top of stack. */
unsigned sp;
char *stackstart; /* Start of stack, to free later. */
int argc; /* Command line args, to free later. */
char **argv;
} PCB;
this output. I don't think there's supposed to be a blank line before "PCB;".
typedef struct PCB
{
int pid; /* Process ID. */
unsigned ss; /* Current top of stack. */
unsigned sp;
char *stackstart; /* Start of stack, to free later. */
int argc; /* Command line args, to free later. */
char **argv;
}
PCB;
--David MacKenzie
Technical Details
Message-ID:
<199210090625.AA13419@frob.eng.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!eng.umd.edu!djmShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!eng.umd.edu!djm From: djm@eng.umd.edu (David J. MacKenzie) Subject: spurious blank line from indent 1.6 Message-ID: <199210090625.AA13419@frob.eng.umd.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 8 Oct 1992 22:25:47 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 28