Commit 0c9c3f08 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Remove incorrect flags updating in `mrb_regexp_p()`

parent 9c252410
...@@ -205,7 +205,6 @@ mrb_regexp_p(mrb_state *mrb, mrb_value v) ...@@ -205,7 +205,6 @@ mrb_regexp_p(mrb_state *mrb, mrb_value v)
return mrb_obj_is_kind_of(mrb, v, mrb_class_get(mrb, REGEXP_CLASS)); return mrb_obj_is_kind_of(mrb, v, mrb_class_get(mrb, REGEXP_CLASS));
} }
else { else {
mrb->flags |= MRB_STATE_REGEXP;
mrb->flags |= MRB_STATE_NO_REGEXP; mrb->flags |= MRB_STATE_NO_REGEXP;
} }
return FALSE; return FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment