summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authortake_cheeze <[email protected]>2014-04-08 23:46:18 +0900
committertake_cheeze <[email protected]>2014-04-08 23:46:18 +0900
commit70f6aa04961b3a1eaab06f9463a756249c741a12 (patch)
treee64c69e20498b2e644c9458c73dc073012c828c3 /src/parse.y
parentc11157eb405718671a359e3b47d2d46ee4b7ee73 (diff)
downloadmruby-70f6aa04961b3a1eaab06f9463a756249c741a12.tar.gz
mruby-70f6aa04961b3a1eaab06f9463a756249c741a12.zip
Fix wrong `mrb_bug` use found with mruby-clang-plugin.
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index ec27a2c51..345ac5756 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -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));
}
}