summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-26 06:54:56 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-26 06:54:56 -0700
commit77e596fe12ffd0b74159e7b9427108d0fc21300c (patch)
tree526ccfd51f3738277383228c88f2ef2eb90d62af /lib.c
parentbdf889cb57c44254ea0f2d3b7a06aac3b77b5edb (diff)
downloadtxr-77e596fe12ffd0b74159e7b9427108d0fc21300c.tar.gz
txr-77e596fe12ffd0b74159e7b9427108d0fc21300c.tar.bz2
txr-77e596fe12ffd0b74159e7b9427108d0fc21300c.zip
lookup_fun: eliminate recursion.
* eval.c (lookup_fun); Use iteration to search the nested environments. Put this code ahead of the global search so we fall back on it. Also, let's check for a compound function name first, so we don't search the environments for this.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions