Bell 32V development
[unix-history] / usr / src / cmd / struct / 4.main.c
CommitLineData
6fd945b9
TL
1#include <stdio.h>
2#include "def.h"
3#include "4.def.h"
4
5LOGICAL *brace;
6output()
7 {
8 VERT w;
9 int i;
10 brace = challoc(nodenum * sizeof(*brace));
11 for (i = 0; i < nodenum; ++i)
12 brace[i] = FALSE;
13 if (progress) fprintf(stderr,"ndbrace:\n");
14 for (w = START; DEFINED(w); w = RSIB(w))
15 ndbrace(w);
16 if (progress) fprintf(stderr,"outrat:\n");
17 for (w = START; DEFINED(w); w = RSIB(w))
18 outrat(w,0,YESTAB);
19 OUTSTR("END\n");
20 chfree(brace,nodenum * sizeof(*brace));
21 brace = 0;
22 }