static links are not considered read-only anymore
This commit is contained in:
parent
7c26c21b87
commit
6266743c4c
|
@ -210,8 +210,11 @@ entity_p getentity(lnp, l_out)
|
|||
break;
|
||||
case ENALOCBASE:
|
||||
case ENAARGBASE:
|
||||
en.en_static = TRUE;
|
||||
en.en_levels = off_set(lnp);
|
||||
if (en.en_levels == 0) {
|
||||
/* otherwise the program could change it */
|
||||
en.en_static = TRUE;
|
||||
}
|
||||
break;
|
||||
case ENPROC:
|
||||
en.en_pro = PROC(lnp);
|
||||
|
|
|
@ -224,6 +224,12 @@ STATIC kill_local(enp, indir)
|
|||
}
|
||||
}
|
||||
break;
|
||||
case ENALOCBASE:
|
||||
case ENAARGBASE:
|
||||
if (enp->en_loc == 0 && rep->en_levels >= 1) {
|
||||
rep->en_vn = newvalnum();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue