diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-24 21:22:21 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-24 21:22:21 -0800 |
commit | 6fc30f12133f6144a7c57df0bc0c397d64387bb9 (patch) | |
tree | 49a91c2389aad92592d5c85f3d9117d4176eac07 /eval.c | |
parent | d4bde7c16e9598ec44364fe485aa9b54fb799057 (diff) | |
download | txr-6fc30f12133f6144a7c57df0bc0c397d64387bb9.tar.gz txr-6fc30f12133f6144a7c57df0bc0c397d64387bb9.tar.bz2 txr-6fc30f12133f6144a7c57df0bc0c397d64387bb9.zip |
bugfix: don't expand @meta syntax as function call.
* eval.c (do_expand): If the form is (sys:var ...)
then skip it without expanding. Of course, that does
not preclude it form being a macro.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3865,6 +3865,8 @@ 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) { + return form; } else { /* funtion call also handles: prog1, call, if, and, or, |