summaryrefslogtreecommitdiffstats
path: root/eval.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-23 06:13:28 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-23 06:13:28 -0800
commita35aed57a078c841dc36d1fa547fe2e74431597f (patch)
tree410bd735fca0b9d7318f4a3d943dce35d8b25750 /eval.h
parentfca47effb1490e6308be3f9600fe782f3cdea862 (diff)
downloadtxr-a35aed57a078c841dc36d1fa547fe2e74431597f.tar.gz
txr-a35aed57a078c841dc36d1fa547fe2e74431597f.tar.bz2
txr-a35aed57a078c841dc36d1fa547fe2e74431597f.zip
Bugfix: @(require ...) not expanding forms.
* eval.c (expand_forms): Static function becomes external. (expand_form): Remove case which handles do_s. * eval.h (expand_forms): Declared. * parser.y (elem): Expand both do_s and require_s forms by using expand_forms.
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.h b/eval.h
index 163d352f..5389320d 100644
--- a/eval.h
+++ b/eval.h
@@ -39,6 +39,7 @@ val eval_progn(val forms, val env, val ctx_form);
val eval(val form, val env, val ctx_form);
val eval_intrinsic(val form, val env);
val expand(val form);
+val expand_forms(val forms);
val bindable(val obj);
val mapcarv(val fun, val list_of_lists);