]> matita.cs.unibo.it Git - helm.git/commitdiff
moved dummy_floc from Disambiguate to DisambiguateTypes, since it is now needed by...
authorStefano Zacchiroli <zack@upsilon.cc>
Tue, 13 Sep 2005 13:22:02 +0000 (13:22 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Tue, 13 Sep 2005 13:22:02 +0000 (13:22 +0000)
helm/ocaml/cic_disambiguation/disambiguate.ml
helm/ocaml/cic_disambiguation/disambiguate.mli
helm/ocaml/cic_disambiguation/disambiguateTypes.ml
helm/ocaml/cic_disambiguation/disambiguateTypes.mli

index 85bdc689cc14e6b2d234755f5bad7f5a90c3fe78..58927e53b887d8b7aeddfe9e82c4a6e85a7bbc7b 100644 (file)
@@ -49,16 +49,6 @@ let domain_size = ref 0
 let choices_avg = ref 0.
 *)
 
-let floc_of_loc (loc_begin, loc_end) =
-  let floc_begin =
-    { Lexing.pos_fname = ""; Lexing.pos_lnum = -1; Lexing.pos_bol = -1;
-      Lexing.pos_cnum = loc_begin }
-  in
-  let floc_end = { floc_begin with Lexing.pos_cnum = loc_end } in
-  (floc_begin, floc_end)
-
-let dummy_floc = floc_of_loc (-1, -1)
-
 let descr_of_domain_item = function
  | Id s -> s
  | Symbol (s, _) -> s
index 10b1c7633dfede3a24ebe3b8d8f51496f334e712..5de2e5759eaa6c2a68ce3da74b746e2e7241db7a 100644 (file)
@@ -90,5 +90,3 @@ sig
      CicUniv.universe_graph) list   (* disambiguated term *)
 end
 
-val dummy_floc: Lexing.position * Lexing.position
-
index bb513aa6cdbc0cba1141fcdc7cc1f9115a024eca..3e969c87a16e92d6e8dff37d318d31c9f8f6282b 100644 (file)
@@ -115,3 +115,13 @@ let string_of_domain dom =
 
 let empty_environment = Environment.empty
 
+let floc_of_loc (loc_begin, loc_end) =
+  let floc_begin =
+    { Lexing.pos_fname = ""; Lexing.pos_lnum = -1; Lexing.pos_bol = -1;
+      Lexing.pos_cnum = loc_begin }
+  in
+  let floc_end = { floc_begin with Lexing.pos_cnum = loc_end } in
+  (floc_begin, floc_end)
+
+let dummy_floc = floc_of_loc (-1, -1)
+
index 1a8dc4ac08bf02e00cc901799f967087d2519160..df598a3f713f20ded29e8c8ed8dd80f7dd18ba17 100644 (file)
@@ -96,3 +96,5 @@ type script = CicNotationPt.location * script_entry list
 
 val empty_environment: environment
 
+val dummy_floc: Lexing.position * Lexing.position
+