Commit c52838ca authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2286 from suzukaze/refactor-kernel

Use boolean macro in kernel.c
parents f4570d41 47c964bc
...@@ -182,7 +182,7 @@ mrb_f_block_given_p_m(mrb_state *mrb, mrb_value self) ...@@ -182,7 +182,7 @@ mrb_f_block_given_p_m(mrb_state *mrb, mrb_value self)
bp = ci->stackent + 1; bp = ci->stackent + 1;
ci--; ci--;
if (ci <= mrb->c->cibase) { if (ci <= mrb->c->cibase) {
given_p = 0; given_p = FALSE;
} }
else { else {
/* block_given? called within block; check upper scope */ /* block_given? called within block; check upper scope */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment