summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-09 10:32:18 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-09 10:32:18 +0900
commit7f3b8ddb5361b5ad7102f82d8a1212520958450b (patch)
tree35120c59d27a89b6ffb8dc4cf6838e83a1bd2654 /src
parentec0f97ddfd466145a6bd1579a340d756fc7f09bc (diff)
parent70f6aa04961b3a1eaab06f9463a756249c741a12 (diff)
downloadmruby-7f3b8ddb5361b5ad7102f82d8a1212520958450b.tar.gz
mruby-7f3b8ddb5361b5ad7102f82d8a1212520958450b.zip
Merge pull request #2029 from take-cheeze/mrb_bug_fix
Fix wrong `mrb_bug` use found with mruby-clang-plugin.
Diffstat (limited to 'src')
-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));
}
}