summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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));
}
}