aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/pattern.c
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/libxml/pattern.c
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libxml/pattern.c')
-rw-r--r--contrib/libs/libxml/pattern.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/libxml/pattern.c b/contrib/libs/libxml/pattern.c
index 10faaa421b..27e96946b6 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];