1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-16 18:29:56 +00:00

Update specials.c for formatting.

This commit is contained in:
Calvin Rose 2023-08-25 16:28:41 -05:00
parent d2dd241e6b
commit 33d1371186

View File

@ -831,8 +831,8 @@ static JanetSlot janetc_while(JanetFopts opts, int32_t argn, const Janet *argv)
int never_executes = is_nil_form int never_executes = is_nil_form
? !janet_checktype(cond.constant, JANET_NIL) ? !janet_checktype(cond.constant, JANET_NIL)
: is_notnil_form : is_notnil_form
? janet_checktype(cond.constant, JANET_NIL) ? janet_checktype(cond.constant, JANET_NIL)
: !janet_truthy(cond.constant); : !janet_truthy(cond.constant);
if (never_executes) { if (never_executes) {
janetc_popscope(c); janetc_popscope(c);
return janetc_cslot(janet_wrap_nil()); return janetc_cslot(janet_wrap_nil());