summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-18 06:30:04 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-18 06:30:04 -0800
commit9e48dd8f5265d5ea0dd683da6721b58fafcd8422 (patch)
treece0da858dafaad1e1769d7a8669ed8794cfcdca3 /share
parent35e2b84d9a0b65020ba5ee7dcc725f2c25fff537 (diff)
downloadtxr-9e48dd8f5265d5ea0dd683da6721b58fafcd8422.tar.gz
txr-9e48dd8f5265d5ea0dd683da6721b58fafcd8422.tar.bz2
txr-9e48dd8f5265d5ea0dd683da6721b58fafcd8422.zip
expander: improve diagnosis of invalid dotted syntax.
* eval.c (dotted_form_error): Use eval_error instead of throwing direcly, so the error message has location info and consistent formatting. (expand_forms, expand_forms_ss, expand_forms_lisp1): Check for the dotting error one level above, at the cons cell. The cons cell will have line number information attached to it for a better error message.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions