diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-06-27 07:16:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-06-27 07:16:20 -0700 |
commit | f4ab08f73bc1d16d4971a16a0a66b5621af77572 (patch) | |
tree | 786823441aa20326c2aea03bfb935544e2783654 /eval.c | |
parent | d734796cd312e6eea196f2a6b9c31e59b3a934c0 (diff) | |
download | txr-f4ab08f73bc1d16d4971a16a0a66b5621af77572.tar.gz txr-f4ab08f73bc1d16d4971a16a0a66b5621af77572.tar.bz2 txr-f4ab08f73bc1d16d4971a16a0a66b5621af77572.zip |
Fix TXR 97 regression in quasiliterals.
* eval.c (expand_quasi): When the modifiers argument of a var
item is expanded, the expansion incorrectly places it as the
fourth item rather than third. This is effectively a continuation
of the incomplete regression fix that was applied on 2014-08-29.
The breakage is that `@{(expr) modifier}` ignores modifier
whenever (expr) is an expression that undergoes expansion.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2371,7 +2371,7 @@ static val expand_quasi(val quasi_forms, val menv) val mods_ex = expand_forms(mods, menv); if (param_ex != param || mods_ex != mods) - form_ex = rlcp(list(sym, param_ex, nil, mods_ex, nao), form); + form_ex = rlcp(list(sym, param_ex, mods_ex, nao), form); } } |