Big refactoring of libxml-tree, part (1) (everything compiles)
[SXSI/xpathcomp.git] / src / runtime.ml
index bc771eb..a7103f1 100644 (file)
@@ -277,14 +277,14 @@ DEFINE LOOP_TAG (t, states, tag, ctx) = (
        | L2JIT.TAGGED_CHILD (s, tag) ->
          LOOP_TAG((Tree.tagged_child tree t tag), s, tag, ctx)
 
-       | L2JIT.TAGGED_FOLLOWING_SIBLING (s, tag) ->
-         LOOP_TAG((Tree.tagged_following_sibling tree t tag), s, tag, ctx)
+       | L2JIT.TAGGED_SIBLING (s, tag) ->
+         LOOP_TAG((Tree.tagged_sibling tree t tag), s, tag, ctx)
 
        | L2JIT.SELECT_CHILD (s, _, us) ->
          LOOP ((Tree.select_child tree t us), s, ctx)
 
-       | L2JIT.SELECT_FOLLOWING_SIBLING (s, _, us) ->
-         LOOP ((Tree.select_following_sibling tree t us), s, ctx)
+       | L2JIT.SELECT_SIBLING (s, _, us) ->
+         LOOP ((Tree.select_sibling tree t us), s, ctx)
 
        | L2JIT.TAGGED_SUBTREE(s, tag) ->
          mark_subtree s (U.NS.subtree_tags tree t tag)