diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-25 23:28:41 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-25 23:28:41 -0800 |
commit | 2e04358bf8798638c6c16344f55273bc06297ec6 (patch) | |
tree | 6b32c3c87dfef87929af0ad5a4ee0ab28a059080 /eval.c | |
parent | ddcc44152f913ec34b866c68a9080e6a35d38b00 (diff) | |
download | txr-2e04358bf8798638c6c16344f55273bc06297ec6.tar.gz txr-2e04358bf8798638c6c16344f55273bc06297ec6.tar.bz2 txr-2e04358bf8798638c6c16344f55273bc06297ec6.zip |
bugfix: expander traversing (sys:expr ...).
* eval.c (do_expand): Do not expand into (sys:expr ...)
expressins, the same way (sys:var ...) expressions are
avoided. They are not forms.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3865,7 +3865,7 @@ static val do_expand(val form, val menv) return expand(first(args), menv); } else if (sym == sys_lisp1_value_s) { return expand_lisp1_value(form, menv); - } else if (sym == var_s) { + } else if (sym == var_s || sym == expr_s) { return form; } else { /* funtion call |