Commit ad4ce2ba authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1551 from Fleurer/fix1550

fix #1550
parents 73f6d708 3a4c8e2d
......@@ -37,6 +37,7 @@ static void yyerror(parser_state *p, const char *s);
static void yywarn(parser_state *p, const char *s);
static void yywarning(parser_state *p, const char *s);
static void backref_error(parser_state *p, node *n);
static void tokadd(parser_state *p, int c);
#ifndef isascii
#define isascii(c) (((c) & ~0x7f) == 0)
......@@ -3338,6 +3339,7 @@ nextc(parser_state *p)
if (cxt->partial_hook(p) < 0) return -1;
p->cxt = NULL;
tokadd(p, '\n');
c = nextc(p);
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