diff options
author | orivej <[email protected]> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/libxml/pattern.c | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libxml/pattern.c')
-rw-r--r-- | contrib/libs/libxml/pattern.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/libxml/pattern.c b/contrib/libs/libxml/pattern.c index 27e96946b69..10faaa421bd 100644 --- a/contrib/libs/libxml/pattern.c +++ b/contrib/libs/libxml/pattern.c @@ -1,5 +1,5 @@ /* - * pattern.c: Implementation of selectors for nodes + * pattern.c: Implementation of selectors for nodes * * Reference: * http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/ @@ -55,7 +55,7 @@ /* * NOTE: Those private flags (XML_STREAM_xxx) are used * in _xmlStreamCtxt->flag. They extend the public -* xmlPatternFlags, so be careful not to interfere with the +* xmlPatternFlags, so be careful not to interfere with the * reserved values for xmlPatternFlags. */ #define XML_STREAM_FINAL_IS_ANY_NODE 1<<14 @@ -229,11 +229,11 @@ xmlNewPattern(void) { */ void xmlFreePattern(xmlPatternPtr comp) { - xmlFreePatternList(comp); -} - -static void -xmlFreePatternInternal(xmlPatternPtr comp) { + xmlFreePatternList(comp); +} + +static void +xmlFreePatternInternal(xmlPatternPtr comp) { xmlStepOpPtr op; int i; @@ -276,7 +276,7 @@ xmlFreePatternList(xmlPatternPtr comp) { cur = comp; comp = comp->next; cur->next = NULL; - xmlFreePatternInternal(cur); + xmlFreePatternInternal(cur); } } @@ -745,7 +745,7 @@ rollback: * xmlPatScanLiteral: * @ctxt: the XPath Parser context * - * Parse an XPath Literal: + * Parse an XPath Literal: * * [29] Literal ::= '"' [^"]* '"' * | "'" [^']* "'" @@ -972,7 +972,7 @@ xmlCompileAttributeTest(xmlPatParserContextPtr ctxt) { ERROR5(NULL, NULL, NULL, "xmlCompileAttributeTest : no namespace bound to prefix %s\n", prefix); - XML_PAT_FREE_STRING(ctxt, prefix); + XML_PAT_FREE_STRING(ctxt, prefix); ctxt->error = 1; goto error; } @@ -1976,7 +1976,7 @@ xmlStreamPushInternal(xmlStreamCtxtPtr stream, } else { /* * If there are "//", then we need to process every "//" - * occurring in the states, plus any other state for this + * occurring in the states, plus any other state for this * level. */ stepNr = stream->states[2 * i]; |