mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
parser: Add comment in xmlStopParser
This commit is contained in:
3
parser.c
3
parser.c
@@ -11404,6 +11404,9 @@ xmlStopParser(xmlParserCtxt *ctxt) {
|
|||||||
if (ctxt == NULL)
|
if (ctxt == NULL)
|
||||||
return;
|
return;
|
||||||
xmlHaltParser(ctxt);
|
xmlHaltParser(ctxt);
|
||||||
|
/*
|
||||||
|
* TODO: Update ctxt->lastError and ctxt->wellFormed?
|
||||||
|
*/
|
||||||
if (ctxt->errNo != XML_ERR_NO_MEMORY)
|
if (ctxt->errNo != XML_ERR_NO_MEMORY)
|
||||||
ctxt->errNo = XML_ERR_USER_STOP;
|
ctxt->errNo = XML_ERR_USER_STOP;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user