improved fix
authorceriel <none@none>
Tue, 30 May 1989 14:50:16 +0000 (14:50 +0000)
committerceriel <none@none>
Tue, 30 May 1989 14:50:16 +0000 (14:50 +0000)
util/ego/ic/ic.c
util/ego/ic/ic_lookup.c

index a2641cd..a0a7181 100644 (file)
@@ -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();
index 30fd2c9..65c0eaa 100644 (file)
@@ -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;