From: ceriel Date: Tue, 30 May 1989 14:50:16 +0000 (+0000) Subject: improved fix X-Git-Tag: release-5-5~2408 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ced856c23494a0f0a8254d56af58b80530602567;p=ack.git improved fix --- 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;