Misc. rewrites:
[SXSI/xpathcomp.git] / src / compile.ml
index e60ede6..296f665 100644 (file)
@@ -65,10 +65,9 @@ let rec compile_step toplevel (axis, test, _) state cont conf last =
       let loop =  loopfun (`Left *+ state) (`Right *+ state) in
       let phi = mk_phi toplevel cont loop in
       ( [ (Transition.make (state, test, marking, phi));
-         (Transition.make (state, TagSet.any, false, loop));
-             (*(Transition.make (state, TagSet.any, false, `Right *+ state)) *)
-       ],
-       (`Left *+ state))
+          (Transition.make (state, TagSet.any, false, loop));
+        ],
+        (`Left *+ state))
 
     | _ -> assert false
   in