new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / struct / struct / 4.main.c
/*-
* %sccs.include.proprietary.c%
*/
#ifndef lint
static char sccsid[] = "@(#)4.main.c 4.2 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#include "def.h"
#include "4.def.h"
LOGICAL *brace;
output()
{
VERT w;
int i;
brace = challoc(nodenum * sizeof(*brace));
for (i = 0; i < nodenum; ++i)
brace[i] = FALSE;
if (progress) fprintf(stderr,"ndbrace:\n");
for (w = START; DEFINED(w); w = RSIB(w))
ndbrace(w);
if (progress) fprintf(stderr,"outrat:\n");
for (w = START; DEFINED(w); w = RSIB(w))
outrat(w,0,YESTAB);
OUTSTR("END\n");
chfree(brace,nodenum * sizeof(*brace));
brace = 0;
}