From ced856c23494a0f0a8254d56af58b80530602567 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 May 1989 14:50:16 +0000 Subject: [PATCH] improved fix --- util/ego/ic/ic.c | 4 +++- util/ego/ic/ic_lookup.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- 2.34.1