summaryrefslogtreecommitdiffstats
path: root/arith.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-11 18:45:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-11 18:45:47 -0800
commit36fc9556a85f37952da4e3b9ad055b54d969e652 (patch)
treea5b982dd657362299724a500b2f580eebd7290bd /arith.c
parentd3904de7a60b76bd1a3f22e6d110689b6ae75106 (diff)
downloadtxr-36fc9556a85f37952da4e3b9ad055b54d969e652.tar.gz
txr-36fc9556a85f37952da4e3b9ad055b54d969e652.tar.bz2
txr-36fc9556a85f37952da4e3b9ad055b54d969e652.zip
Fix pretty printer mishandling unexpected syntax.
* lib.c (obj_print_impl): When rendering quote, quasiquote, unquote, splice, vector literals, and meta-vars/meta-numbers into their read syntax, we must ensure that these forms have the correct abstract syntax. If not, we must print these as ordinary compound expressions. Otherwise we throw errors, or don't print the complete object.
Diffstat (limited to 'arith.c')
0 files changed, 0 insertions, 0 deletions