diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-02-04 19:14:37 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-02-04 19:14:37 -0800 |
commit | fb83aae919b90005b4f9a0298cfe4130fb58a13f (patch) | |
tree | 06b8b430c239749ff1672f2e9db66232b2ac93b0 /tests/011/special-1.expected | |
parent | 8a36067af488a434dcf97cb9a0b9cb08cf1782e7 (diff) | |
download | txr-fb83aae919b90005b4f9a0298cfe4130fb58a13f.tar.gz txr-fb83aae919b90005b4f9a0298cfe4130fb58a13f.tar.bz2 txr-fb83aae919b90005b4f9a0298cfe4130fb58a13f.zip |
error: improve compiler error location reporting.
* share/txr/stdlib/error.tl (sys:dig): New function. If the
form has no source location, but has macro ancestry, thens
try to search through that.
(sys:loc): Don't bother with the conditional; source-loc-str
always returns something. When there is no source location
there is a "source loc n/a" string.
(compile-error, compile-warning, compile-defr-warning): Use
sys:dig to take advanage of macro ancestry information.
Diffstat (limited to 'tests/011/special-1.expected')
0 files changed, 0 insertions, 0 deletions