diff --git a/util/ego/ic/ic.c b/util/ego/ic/ic.c index a2641cd2c..a0a71811a 100644 --- a/util/ego/ic/ic.c +++ b/util/ego/ic/ic.c @@ -445,7 +445,9 @@ line_p inpseudo(n) */ if (lastline != (line_p) 0 && is_datalabel(lastline)) { - curhol = string; + extern char *lastname; + + curhol = lastname; } else { curhol = hol_label(); diff --git a/util/ego/ic/ic_lookup.c b/util/ego/ic/ic_lookup.c index 30fd2c90b..65c0eaaee 100644 --- a/util/ego/ic/ic_lookup.c +++ b/util/ego/ic/ic_lookup.c @@ -119,6 +119,7 @@ dblock_p symlookup(name, status) */ if (strcmp((*spp)->sy_name, name) == 0) { /* found */ + lastname = (*spp)->sy_name; return ((*spp)->sy_dblock); } else { spp = &(*spp)->sy_next;