summaryrefslogtreecommitdiffstats
path: root/txr.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-06 18:35:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-06 18:35:48 -0700
commitc2e0ec801502ae26dae3dfdd035ff10436cffedd (patch)
treec27e5fd60688f16939d98d331fa4bbe0d2a0303a /txr.h
parent59aa1488ac6deec474dc5287d4866223e1bcd005 (diff)
downloadtxr-c2e0ec801502ae26dae3dfdd035ff10436cffedd.tar.gz
txr-c2e0ec801502ae26dae3dfdd035ff10436cffedd.tar.bz2
txr-c2e0ec801502ae26dae3dfdd035ff10436cffedd.zip
Allow evaluation from repl to be interrupted.
* eval.c (do_eval): Check for pending signals. * parser.c (repl_intr): New static function. (repl): Set up signal handler for SIGINT around REPL. * signal.h (sig_deferred): declared. (sig_check_fast): New inline function/macro. A bit of a rearrangement here.
Diffstat (limited to 'txr.h')
0 files changed, 0 insertions, 0 deletions