Commit e306bfaf authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

failed to initialize source string

parent 685b4d1c
......@@ -4720,6 +4720,7 @@ mrb_parse_nstring(mrb_state *mrb, const char *s, size_t len)
p = mrb_parser_new(mrb);
if (!p) return 0;
p->s = s;
p->send = s + len;
mrb_parser_parse(p);
......
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