]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_library/nCicLibrary.ml
Use of standard OCaml syntax
[helm.git] / matita / components / ng_library / nCicLibrary.ml
index 0620a6233dcdff5279e11b31e5b3762ad873ce68..1852673f896c7a55c12a6babaa459347e8b657d4 100644 (file)
@@ -183,7 +183,7 @@ class dumpable_status =
   method dump = db
   method set_dump v = {< db = v >}
   method set_dumpable_status
-   : 'status. #g_dumpable_status as 'status -> 'self
+   : 'status. (#g_dumpable_status as 'status) -> 'self
    = fun o -> {< db = o#dump >}
  end
 
@@ -260,9 +260,10 @@ module Serializer(D: sig type dumpable_s = private #dumpable_status end) =
    let ch = open_out (ng_path_of_baseuri baseuri) in
    Marshal.to_channel ch (magic,(status#dump.dependencies,status#dump.objs)) [];
    close_out ch;
-(*
+
+   if Helm_registry.get_bool "matita.remove_old_objects" then
    remove_objects ~baseuri; (* FG: we remove the old objects before putting the new ones*)
-*)
+
    List.iter
     (function 
      | `Obj (uri,obj) ->