From d002d775f76ddab45983354022a0f8c59b1af313 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 24 Feb 2014 11:40:32 +0100 Subject: remoteCounter: backup/restore When you resume the compilation of a .vi file, you want to avoid collisions on fresh names. --- pretyping/termops.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pretyping') diff --git a/pretyping/termops.ml b/pretyping/termops.ml index 781bd599c..6972f307b 100644 --- a/pretyping/termops.ml +++ b/pretyping/termops.ml @@ -150,7 +150,7 @@ let print_env env = let set_module m = current_module := m*) let new_univ_level, set_remote_new_univ_level = - RemoteCounter.new_counter 0 ~incr:((+) 1) + RemoteCounter.new_counter ~name:"univ_level" 0 ~incr:((+) 1) ~build:(fun n -> Univ.UniverseLevel.make (Lib.library_dp()) n) let new_univ () = Univ.Universe.make (new_univ_level ()) -- cgit v1.2.3