projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i
[SXSI/xpathcomp.git]
/
src
/
compile.ml
diff --git
a/src/compile.ml
b/src/compile.ml
index
e60ede6
..
296f665
100644
(file)
--- a/
src/compile.ml
+++ b/
src/compile.ml
@@
-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));
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
| _ -> assert false
in