public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6fb294
)
improved fix
author
ceriel
<none@none>
Tue, 30 May 1989 14:50:16 +0000
(14:50 +0000)
committer
ceriel
<none@none>
Tue, 30 May 1989 14:50:16 +0000
(14:50 +0000)
util/ego/ic/ic.c
patch
|
blob
|
history
util/ego/ic/ic_lookup.c
patch
|
blob
|
history
diff --git
a/util/ego/ic/ic.c
b/util/ego/ic/ic.c
index
a2641cd
..
a0a7181
100644
(file)
--- 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
30fd2c9
..
65c0eaa
100644
(file)
--- 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;