ANSI requires separate name space for labels, and made to use idf module

This commit is contained in:
ceriel
1991-06-19 16:12:56 +00:00
parent 3a074a6f99
commit 9f43986877
21 changed files with 105 additions and 266 deletions

View File

@@ -181,7 +181,7 @@ struct idf **idpp;
}
*idpp = tp->tp_idf;
switch(tp->tp_fund) {
case ENUM: tg = tp->tp_idf->id_enum; break;
case ENUM:
case UNION:
case STRUCT: tg = tp->tp_idf->id_struct; break;
}
@@ -331,7 +331,7 @@ struct type *tp;
ident = tp->tp_idf;
switch (tp->tp_fund) {
case ENUM: tgpp = &(ident->id_enum); break;
case ENUM:
case STRUCT:
case UNION: tgpp = &(ident->id_struct); break;
default: return;