Commit 0ad6a521 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2494 from suzukaze/refactor-variable.c

Use Boolean macro in variable.c
parents 16ddb166 41fddede
......@@ -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