diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-13 19:52:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-13 19:52:40 -0700 |
commit | d32108aad0575f904286c37146906fba4409c4de (patch) | |
tree | cfd5cb8b08d337cfa19c0cee055ccdcdd5e4de09 /linenoise | |
parent | 8ee1fbd550bebd87ee9c3998e33a2140f34c2f4e (diff) | |
download | txr-d32108aad0575f904286c37146906fba4409c4de.tar.gz txr-d32108aad0575f904286c37146906fba4409c4de.tar.bz2 txr-d32108aad0575f904286c37146906fba4409c4de.zip |
More thorough job of tracking expansion origins.
This promotes better diagnostics. Simple test
case: [(ret @5) 1].
* eval.c (do_expand): Manual tail recursion via backwards goto
is removed; the function recurses now, and it recurses through
the expand wrapper rather than by calling itself. That is
needed in order to properly install the origin tracking for
each expansion.
(expand): Record origin for each expansion that already
doesn't have one.
Diffstat (limited to 'linenoise')
0 files changed, 0 insertions, 0 deletions