diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-28 07:11:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-28 07:11:20 -0700 |
commit | 7cab13d777f7c70ca3db2589c253d59f646c7e6d (patch) | |
tree | d29e3defed930b4a083f82406724994f2210b707 /eval.c | |
parent | 25ba4a052b2115515936fd584f8dbb46d49aaf7b (diff) | |
download | txr-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |