Commit 7f3b8ddb authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2029 from take-cheeze/mrb_bug_fix

Fix wrong `mrb_bug` use found with mruby-clang-plugin.
parents ec0f97dd 70f6aa04
......@@ -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