1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-27 04:25:14 +00:00

Add alias JANET_SIGNAL_EVENT.

This commit is contained in:
Calvin Rose
2020-04-17 16:27:02 -05:00
parent 596111c988
commit 4ac382e553
5 changed files with 10 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ int janet_dobytes(JanetTable *env, const uint8_t *bytes, int32_t len, const char
JanetFiber *fiber = janet_fiber(f, 64, 0, NULL);
fiber->env = env;
JanetSignal status = janet_continue(fiber, janet_wrap_nil(), &ret);
if (status != JANET_SIGNAL_OK && status < JANET_SIGNAL_USER0) {
if (status != JANET_SIGNAL_OK && status != JANET_SIGNAL_EVENT) {
janet_stacktrace(fiber, ret);
errflags |= 0x01;
done = 1;