diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-08 06:35:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-08 06:35:21 -0700 |
commit | 67e450455d7514d9a03da48e7830e59f98b6a958 (patch) | |
tree | 3f26061a9111d991213fcd5ab37dec874d23dc35 /rand.h | |
parent | 0ae2857a06ae7ccdd0b8efaef0e864e611215a89 (diff) | |
download | txr-67e450455d7514d9a03da48e7830e59f98b6a958.tar.gz txr-67e450455d7514d9a03da48e7830e59f98b6a958.tar.bz2 txr-67e450455d7514d9a03da48e7830e59f98b6a958.zip |
Don't report unbound var errors against wrong form.
The issue is that eval_intrinsic doesn't clear the
last_form_evaled global around the evaluation of its forms.
If a symbol is evaluated, and it is an unbound variable, the
error is reported against some wrong form.
* eval.c (eval_intrinsic): Set the value of last_form_evaled
to nil before expanding and evaluating the form, then restore
the value.
Diffstat (limited to 'rand.h')
0 files changed, 0 insertions, 0 deletions