[comp.os.minix] Correction on Indent

hall@cod.NOSC.MIL (Robert R. Hall) (04/11/89)

Indent was not handling  { } correctly.  The following cdiff is a patch
to correct this.  The addition of * on line 1 is to identitfy the
comment as a block comment surrounded in *'s and  Indent is not to
reformat it which Indent will do after this patch is installed. This
extra * is to be put in on all of Indent's modules.

Robert R. Hall
hall@nosc.mil

--------------------  cut here  ---------------------------
echo x - lexi.dif
sed '/^X/s///' > lexi.dif << '/'
X*** lexi.orj	Thu Mar 30 22:01:48 1989
X--- lexi.c	Sat Apr  8 15:25:32 1989
X***************
X*** 1,4 ****
X! /*
X   * Copyright (c) 1985 Sun Microsystems, Inc.
X   * Copyright (c) 1980 The Regents of the University of California.
X   * Copyright (c) 1976 Board of Trustees of the University of Illinois.
X--- 1,4 ----
X! /**
X   * Copyright (c) 1985 Sun Microsystems, Inc.
X   * Copyright (c) 1980 The Regents of the University of California.
X   * Copyright (c) 1976 Board of Trustees of the University of Illinois.
X***************
X*** 414,427 ****
X        unary_delim = true;
X  
X        /* if (ps.in_or_st) ps.block_init = 1; */
X!       /* ?	code = ps.block_init ? lparen : lbrace; */
X!       code = lbrace;
X        break;
X  
X     case ('}'):
X        unary_delim = true;
X!       /* ?	code = ps.block_init ? rparen : rbrace; */
X!       code = rbrace;
X        break;
X  
X     case 014:				/* a form feed */
X--- 414,425 ----
X        unary_delim = true;
X  
X        /* if (ps.in_or_st) ps.block_init = 1; */
X!       code = ps.block_init ? lparen : lbrace;
X        break;
X  
X     case ('}'):
X        unary_delim = true;
X!       code = ps.block_init ? rparen : rbrace;
X        break;
X  
X     case 014:				/* a form feed */
/