1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- xpath.c: bug detected by Ankh when / is used as a function arg

Daniel
This commit is contained in:
Daniel Veillard
2001-06-13 23:02:48 +00:00
parent 02bb170a8b
commit 239d052b3d
2 changed files with 6 additions and 2 deletions

View File

@ -7085,8 +7085,8 @@ xmlXPathCompLocationPath(xmlXPathParserContextPtr ctxt) {
xmlXPathCompRelativeLocationPath(ctxt);
} else if (CUR == '/') {
NEXT;
SKIP_BLANKS;
if (CUR != 0)
/* SKIP_BLANKS; */
if ((CUR != 0) && (CUR != ')') && (CUR != ','))
xmlXPathCompRelativeLocationPath(ctxt);
}
}