Commit 41fddede authored by Jun Hiroe's avatar Jun Hiroe

Use Boolean macro in variable.c

parent 16ddb166
......@@ -857,7 +857,7 @@ const_get(mrb_state *mrb, struct RClass *base, mrb_sym sym)
struct RClass *c = base;
mrb_value v;
iv_tbl *t;
mrb_bool retry = 0;
mrb_bool retry = FALSE;
mrb_value name;
L_RETRY:
......@@ -871,7 +871,7 @@ L_RETRY:
}
if (!retry && base && base->tt == MRB_TT_MODULE) {
c = mrb->object_class;
retry = 1;
retry = TRUE;
goto L_RETRY;
}
name = mrb_symbol_value(sym);
......
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