parse.y: avoid using mrb_bug(); ref #5852

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-11-25 16:15:23 +09:00
parent eb988c9025
commit 855e63e17c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4249,7 +4249,7 @@ backref_error(parser_state *p, node *n)
yyerror_c(p, "can't set variable $", (char)intn(n->cdr));
}
else {
mrb_bug(p->mrb, "Internal error in backref_error() : n=>car == %d", c);
yyerror(p, "Internal error in backref_error()");
}
}
+1 -1
View File
@@ -10445,7 +10445,7 @@ backref_error(parser_state *p, node *n)
yyerror_c(p, "can't set variable $", (char)intn(n->cdr));
}
else {
mrb_bug(p->mrb, "Internal error in backref_error() : n=>car == %d", c);
yyerror(p, "Internal error in backref_error()");
}
}