Closed
Description
opened on Mar 10, 2018
This code snippet cannot be interrupted with ctrl-c:
repeat continue; until false;
This is present in master but also in GAP 4.8 and older. The problem also affects for
loops and while
loops.
One way to fix this would be to move T_CONTINUE
out of the FIRST_NON_INTERRUPT_STAT .. LAST_NON_INTERRUPT_STAT
range. Another would be to leave it in there, but add additional interrupt checks to all loop constructs. If we do that, we could then also move T_EMPTY
into the range of non-interruptible stats.
Activity