MCPcopy Create free account
hub / github.com/Kitware/VTK / htmlSkipBogusComment

Function htmlSkipBogusComment

ThirdParty/libxml2/vtklibxml2/HTMLparser.c:2421–2436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2419static const xmlChar * htmlParseNameComplex(xmlParserCtxtPtr ctxt);
2420
2421static void
2422htmlSkipBogusComment(htmlParserCtxtPtr ctxt) {
2423 int c;
2424
2425 htmlParseErr(ctxt, XML_HTML_INCORRECTLY_OPENED_COMMENT,
2426 "Incorrectly opened comment\n", NULL, NULL);
2427
2428 while (PARSER_STOPPED(ctxt) == 0) {
2429 c = CUR;
2430 if (c == 0)
2431 break;
2432 NEXT;
2433 if (c == '>')
2434 break;
2435 }
2436}
2437
2438/**
2439 * htmlParseHTMLName:

Callers 3

htmlParseContentFunction · 0.85
htmlParseContentInternalFunction · 0.85
htmlParseTryOrFinishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected