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 3ebe2a7176
commit 6f8b72bfb3

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.
*/