fix char after =end

skips() advance after the string skipped.
This commit is contained in:
Nobuyoshi Nakada
2014-04-30 12:23:28 +09:00
parent 854ae564a3
commit 82fce52211
+1 -1
View File
@@ -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;
}