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 | 3e8ffce49faa414d970d43ec7396ebad82a32add (patch) | |
tree | 393e8c33e37cc375a784c5b6ddb22fd9fc7fc2f3 | |
parent | 318adf3824b44af70ef446711ae0d47ad6d63245 (diff) | |
download | txr-3e8ffce49faa414d970d43ec7396ebad82a32add.tar.gz txr-3e8ffce49faa414d970d43ec7396ebad82a32add.tar.bz2 txr-3e8ffce49faa414d970d43ec7396ebad82a32add.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); } |