258 |
|
register char *qn; |
259 |
|
{ |
260 |
|
while (*qn && *qn != CNTXMARK) /* find context mark */ |
261 |
< |
; |
261 |
> |
qn++; |
262 |
|
return(!strcmp(qn, context)); |
263 |
|
} |
264 |
|
|
398 |
|
dnext() /* return pointer to next definition */ |
399 |
|
{ |
400 |
|
register EPNODE *ep; |
401 |
+ |
register char *nm; |
402 |
|
|
403 |
|
while (htndx < NHASH) { |
404 |
|
if (htpos == NULL) |
405 |
|
htpos = hashtbl[htndx++]; |
406 |
|
while (htpos != NULL) { |
407 |
|
ep = htpos->def; |
408 |
+ |
nm = htpos->name; |
409 |
|
htpos = htpos->next; |
410 |
< |
if (ep != NULL) |
410 |
> |
if (ep != NULL && incontext(nm)) |
411 |
|
return(ep); |
412 |
|
} |
413 |
|
} |