Commit 0fe744f9 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge branch 'master' of github.com:mruby/mruby

parents a2288416 3376dd96
...@@ -3338,9 +3338,8 @@ nextc(parser_state *p) ...@@ -3338,9 +3338,8 @@ nextc(parser_state *p)
mrbc_context *cxt = p->cxt; mrbc_context *cxt = p->cxt;
if (cxt->partial_hook(p) < 0) return -1; if (cxt->partial_hook(p) < 0) return -1;
p->cxt = NULL; c = '\n';
tokadd(p, '\n'); p->lineno = 1;
c = nextc(p);
p->cxt = cxt; p->cxt = cxt;
return c; return c;
} }
......
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