Commit 70f6aa04 authored by take_cheeze's avatar take_cheeze

Fix wrong `mrb_bug` use found with mruby-clang-plugin.

parent c11157eb
......@@ -3323,7 +3323,7 @@ backref_error(parser_state *p, node *n)
yyerror_i(p, "can't set variable $%c", (int)(intptr_t)n->cdr);
}
else {
mrb_bug(p->mrb, "Internal error in backref_error() : n=>car == %d", c);
mrb_bug(p->mrb, "Internal error in backref_error() : n=>car == %S", mrb_fixnum_value(c));
}
}
......
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