summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-28 07:11:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-28 07:11:20 -0700
commit7cab13d777f7c70ca3db2589c253d59f646c7e6d (patch)
treed29e3defed930b4a083f82406724994f2210b707 /eval.c
parent25ba4a052b2115515936fd584f8dbb46d49aaf7b (diff)
downloadtxr-7cab13d777f7c70ca3db2589c253d59f646c7e6d.tar.gz
txr-7cab13d777f7c70ca3db2589c253d59f646c7e6d.tar.bz2
txr-7cab13d777f7c70ca3db2589c253d59f646c7e6d.zip
expander: allow TTY interrupt.
* eval.c (expand): Call sig_check_fast so that if the expander gets into some kind of loop, it is interruptible.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 665c5d2a..777858c3 100644
--- a/eval.c
+++ b/eval.c
@@ -4923,6 +4923,8 @@ val expand(val form, val menv)
uw_push_expand(&expand_fr, form, menv);
#endif
+ sig_check_fast();
+
ret = do_expand(form, menv);
if (!lookup_origin(ret))