Commit 493025c3 authored by Mitchell Blank Jr's avatar Mitchell Blank Jr

print_r() and print_lv() should only be compiled in for ENABLE_STDIO

parent 6f6f50d5
......@@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val)
if (val) push();
}
#ifdef ENABLE_STDIO
static int
print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre)
{
......@@ -2680,6 +2681,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r)
}
printf("\n");
}
#endif
static void
codedump(mrb_state *mrb, mrb_irep *irep)
......
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