diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-26 09:46:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-26 09:46:34 -0700 |
commit | 3685dbd74d4f9930dfe2ce0ffa0547156cf27c1d (patch) | |
tree | 393e8c33e37cc375a784c5b6ddb22fd9fc7fc2f3 | |
parent | 7292f61bbb89a1657f99b96681c82a13f076f340 (diff) | |
download | txr-3685dbd74d4f9930dfe2ce0ffa0547156cf27c1d.tar.gz txr-3685dbd74d4f9930dfe2ce0ffa0547156cf27c1d.tar.bz2 txr-3685dbd74d4f9930dfe2ce0ffa0547156cf27c1d.zip |
Use Lisp eval for :var inits in collect and gather.
* match.c (vars_to_bindings): Use tleval_144 instead of txeval.
-rw-r--r-- | match.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ static val vars_to_bindings(val spec, val vars, val bindings) ptail = list_collect(ptail, cons(item, noval_s)); } else if (consp(item) && bindable(first(item))) { ptail = list_collect(ptail, cons(first(item), - txeval(spec, second(item), bindings))); + tleval_144(spec, second(item), bindings))); } else { sem_error(spec, lit("not a variable spec: ~a"), item, nao); } |