diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-23 21:27:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-23 21:27:20 -0800 |
commit | 21ecebc20e45132bd1c78fd5392b5f6523e4c9e6 (patch) | |
tree | 8ddf3b2db5597bf9f96f6ed9680752e177cd7bc0 | |
parent | 094df64b6c3362f01f44d108f0d5fa4c102341b8 (diff) | |
download | txr-21ecebc20e45132bd1c78fd5392b5f6523e4c9e6.tar.gz txr-21ecebc20e45132bd1c78fd5392b5f6523e4c9e6.tar.bz2 txr-21ecebc20e45132bd1c78fd5392b5f6523e4c9e6.zip |
* eval.c (expand): Bugfix in expansion of dohash: neglected
to insert result form into the expanded output.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | eval.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2014-01-23 Kaz Kylheku <kaz@kylheku.com> + * eval.c (expand): Bugfix in expansion of dohash: neglected + to insert result form into the expanded output. + +2014-01-23 Kaz Kylheku <kaz@kylheku.com> + Version 76 * txr.c (version): Bumped. @@ -1784,7 +1784,9 @@ val expand(val form) if (hashform == hashform_ex && resform == resform_ex && body == body_ex) return form; return cons(sym, cons(cons(keysym, - cons(valsym, cons(hashform_ex, nil))), + cons(valsym, + cons(hashform_ex, + cons(resform_ex, nil)))), body_ex)); } else if (sym == quasi_s) { val quasi = rest(form); |