fix for statics in nested blocks

This commit is contained in:
ceriel2 1987-08-28 09:56:00 +00:00
parent c5d9d997b0
commit adce53f009

View file

@ -169,7 +169,7 @@ initializer(struct idf *idf; int sc;)
{
struct expr *expr = (struct expr *) 0;
int globalflag = level == L_GLOBAL ||
(level == L_LOCAL && sc == STATIC);
(level >= L_LOCAL && sc == STATIC);
}
:
{ if (idf->id_def->df_type->tp_fund == FUNCTION) {