]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/termEditor.ml
renamed modules so that they are more consistent with other cic modules
[helm.git] / helm / gTopLevel / termEditor.ml
index ca5cca601e615c6daf96b5bdcaff3f525852e1d3..db637554f249e8d4fe9bfee54ccdb516ac4b81ca 100644 (file)
@@ -48,10 +48,10 @@ class type term_editor =
    method reset : unit
    (* The input of set_term is unquoted *)
    method set_term : string -> unit
-   method environment : DisambiguatingParser.Environment.t ref
+   method environment : DisambiguatingParser.EnvironmentP3.t ref
  end
 
-module Make(C:Disambiguate_types.Callbacks) =
+module Make(C:DisambiguateTypes.Callbacks) =
   struct
 
    module Disambiguate' = DisambiguatingParser.Make(C);;
@@ -61,7 +61,9 @@ module Make(C:Disambiguate_types.Callbacks) =
    =
     let environment =
      match share_environment_with with
-        None -> ref DisambiguatingParser.Environment.empty
+        None -> ref
+          (DisambiguatingParser.EnvironmentP3.of_string
+            DisambiguatingParser.EnvironmentP3.empty)
       | Some obj -> obj#environment
     in
     let input = GText.view ~editable:true ?width ?height ?packing () in