Also put the unstackset in tables.c, so that ncg can look at it

This commit is contained in:
ceriel 1989-03-17 16:34:39 +00:00
parent 1e3877b595
commit 11cb7edde4

View file

@ -426,6 +426,8 @@ outstrings() {
fprintf(ctable,"};\n\n"); fprintf(ctable,"};\n\n");
} }
extern set_t unstackset;
outsets() { outsets() {
register i; register i;
register set_p sp; register set_p sp;
@ -438,6 +440,11 @@ outsets() {
fprintf(ctable,"}},\n"); fprintf(ctable,"}},\n");
} }
fprintf(ctable,"};\n\n"); fprintf(ctable,"};\n\n");
fprintf(ctable, "set_t unstackset = { %3d,{\n", unstackset.set_size);
for (i = 0; i<setsize;i++)
fprintf(ctable,"0x%x,",unstackset.set_val[i]&0xFFFF);
fprintf(ctable,"}};\n\n");
} }
outinstances() { outinstances() {