Merge pull request #2286 from suzukaze/refactor-kernel

Use boolean macro in kernel.c
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-05-22 01:01:16 +09:00
+1 -1
View File
@@ -182,7 +182,7 @@ mrb_f_block_given_p_m(mrb_state *mrb, mrb_value self)
bp = ci->stackent + 1;
ci--;
if (ci <= mrb->c->cibase) {
given_p = 0;
given_p = FALSE;
}
else {
/* block_given? called within block; check upper scope */