mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
html: Remove unused epilog state
This commit is contained in:
@ -5013,8 +5013,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
|
|||||||
|
|
||||||
case XML_PARSER_MISC:
|
case XML_PARSER_MISC:
|
||||||
case XML_PARSER_PROLOG:
|
case XML_PARSER_PROLOG:
|
||||||
case XML_PARSER_CONTENT:
|
case XML_PARSER_CONTENT: {
|
||||||
case XML_PARSER_EPILOG: {
|
|
||||||
int mode;
|
int mode;
|
||||||
|
|
||||||
if ((ctxt->instate == XML_PARSER_MISC) ||
|
if ((ctxt->instate == XML_PARSER_MISC) ||
|
||||||
@ -5142,11 +5141,7 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
|
|||||||
(htmlParseLookupGt(ctxt) < 0))
|
(htmlParseLookupGt(ctxt) < 0))
|
||||||
goto done;
|
goto done;
|
||||||
htmlParseEndTag(ctxt);
|
htmlParseEndTag(ctxt);
|
||||||
if (ctxt->nameNr == 0) {
|
ctxt->instate = XML_PARSER_CONTENT;
|
||||||
ctxt->instate = XML_PARSER_EPILOG;
|
|
||||||
} else {
|
|
||||||
ctxt->instate = XML_PARSER_CONTENT;
|
|
||||||
}
|
|
||||||
ctxt->checkIndex = 0;
|
ctxt->checkIndex = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user