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 | 73ea0f18ac4fe02c6521ffe760dd6b67101d64bb (patch) | |
tree | 49a91c2389aad92592d5c85f3d9117d4176eac07 | |
parent | c3624f86bdd117dc34d410939134407532c1cf01 (diff) | |
download | txr-73ea0f18ac4fe02c6521ffe760dd6b67101d64bb.tar.gz txr-73ea0f18ac4fe02c6521ffe760dd6b67101d64bb.tar.bz2 txr-73ea0f18ac4fe02c6521ffe760dd6b67101d64bb.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.
-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, |