Commit 3376dd96 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1553 from Fleurer/fix1550-cont

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