From b7a24de37727c0f3d10fb640eb9ebe36e3aed0f2 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 10 May 2013 22:11:28 +0900 Subject: change mrb_bug to get mrb_state and %S formatter --- src/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse.y') diff --git a/src/parse.y b/src/parse.y index 5eaa61b2a..fc2d09f23 100644 --- a/src/parse.y +++ b/src/parse.y @@ -3209,7 +3209,7 @@ backref_error(parser_state *p, node *n) } else if (c == NODE_BACK_REF) { yyerror_i(p, "can't set variable $%c", (int)(intptr_t)n->cdr); } else { - mrb_bug("Internal error in backref_error() : n=>car == %d", c); + mrb_bug(p->mrb, "Internal error in backref_error() : n=>car == %d", c); } } -- cgit v1.2.3