4.4BSD/usr/src/usr.bin/struct/struct/4.main.c
/*-
* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
*/
#ifndef lint
static char sccsid[] = "@(#)4.main.c 8.1 (Berkeley) 6/6/93";
#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;
}