Commit 82fce522 authored by Nobuyoshi Nakada's avatar Nobuyoshi Nakada

fix char after `=end`

skips() advance after the string skipped.
parent 854ae564
......@@ -4204,7 +4204,7 @@ parser_yylex(parser_state *p)
yyerror(p, "embedded document meets end of file");
return 0;
}
c = nextc_n(p, sizeof(end)-1);
c = nextc(p);
} while (!(c < 0 || isspace(c)));
goto retry;
}
......
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