axismap not used

This commit is contained in:
Olof Hagsand 2018-07-30 13:32:45 +00:00
parent 66e232beba
commit ef9bb742d1

View file

@ -88,17 +88,6 @@ const map_str2int xpopmap[] = {
{NULL, -1}
};
/* Mapping between axis type string <--> int */
static const map_str2int axismap[] = {
{"self", A_SELF},
{"child", A_CHILD},
{"parent", A_PARENT},
{"root", A_ROOT},
{"ancestor", A_ANCESTOR},
{"descendant-or-self", A_DESCENDANT_OR_SELF},
{NULL, -1}
};
static const map_str2int xpath_tree_map[] = {
{"expr", XP_EXP},
{"andexpr", XP_AND},