Restored bottom up run
[SXSI/xpathcomp.git] / tagSet.ml
index 8495f6c..74784cf 100644 (file)
--- a/tagSet.ml
+++ b/tagSet.ml
@@ -1,7 +1,17 @@
-include FiniteCofinite.Make(Ptset)
+(* module Ptset = 
+struct 
+  include Set.Make (struct type t = int let compare = (-) end)
+  let hash = Hashtbl.hash
+end
+  *)
+module M  : FiniteCofinite.S with type elt = Tag.t and type set = Ptset.Int.t =
+  FiniteCofinite.Make(Ptset.Int)
+include M
+
 
 let tag t = singleton t
 let pcdata = singleton Tag.pcdata
 let attribute = singleton Tag.attribute
 let star = diff any (cup pcdata attribute)
 let node = neg attribute
+