mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Update specials.c for formatting.
This commit is contained in:
parent
d2dd241e6b
commit
33d1371186
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user