Browse Source

improved fix

ceriel 35 years ago
parent
commit
ced856c234
2 changed files with 4 additions and 1 deletions
  1. 3 1
      util/ego/ic/ic.c
  2. 1 0
      util/ego/ic/ic_lookup.c

+ 3 - 1
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();

+ 1 - 0
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;