summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-05-10 22:11:28 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-05-10 22:11:28 +0900
commitb7a24de37727c0f3d10fb640eb9ebe36e3aed0f2 (patch)
tree74223dd70e90118d78ce783bb60a45fbb81f7a76 /src/parse.y
parentfad8b1cefafcc40ca86cd87612ed8597ee600da3 (diff)
downloadmruby-b7a24de37727c0f3d10fb640eb9ebe36e3aed0f2.tar.gz
mruby-b7a24de37727c0f3d10fb640eb9ebe36e3aed0f2.zip
change mrb_bug to get mrb_state and %S formatter
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 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);
}
}