mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 12:29:54 +00:00
Add flags to fiber/new error message
This commit is contained in:
parent
ea46f096c2
commit
5c162ce588
@ -445,7 +445,7 @@ static Janet cfun_fiber_new(int32_t argc, Janet *argv) {
|
|||||||
} else {
|
} else {
|
||||||
switch (view.bytes[i]) {
|
switch (view.bytes[i]) {
|
||||||
default:
|
default:
|
||||||
janet_panicf("invalid flag %c, expected a, d, e, u, or y", view.bytes[i]);
|
janet_panicf("invalid flag %c, expected a, t, d, e, u, y, i, or p", view.bytes[i]);
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
fiber->flags |=
|
fiber->flags |=
|
||||||
|
Loading…
Reference in New Issue
Block a user