corrected the treatment of static functions declared on non-global level
This commit is contained in:
parent
3ebe2a7176
commit
6f8b72bfb3
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue