summaryrefslogtreecommitdiffstats
path: root/tests/011/special-1.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-04 19:14:37 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-04 19:14:37 -0800
commitfb83aae919b90005b4f9a0298cfe4130fb58a13f (patch)
tree06b8b430c239749ff1672f2e9db66232b2ac93b0 /tests/011/special-1.expected
parent8a36067af488a434dcf97cb9a0b9cb08cf1782e7 (diff)
downloadtxr-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