corrected the treatment of static functions declared on non-global level

This commit is contained in:
erikb 1986-11-10 09:16:27 +00:00
parent 5346f46c31
commit 00a884b745

View File

@ -338,6 +338,10 @@ code_declaration(idf, expr, lvl, sc)
/* STATIC, EXTERN, GLOBAL, IMPLICIT, AUTO or REGISTER */
switch (def_sc) {
case STATIC:
if (def->df_type->tp_fund == FUNCTION) {
/* should produce "inp $function" ??? */
break;
}
/* they are handled on the spot and get an
integer label in EM.
*/