diff options
| author | barras | 2004-09-15 16:50:56 +0000 |
|---|---|---|
| committer | barras | 2004-09-15 16:50:56 +0000 |
| commit | 2d707f4445c0cc86d8f8c30bdbe9eecf956997f9 (patch) | |
| tree | 9d6c2ff5489ba6bbf5683963108c34aa10b81e6f /toplevel | |
| parent | 8f5a7bbf2e5c64d6badd9e7c39da83d07b9c6f40 (diff) | |
hiding the meta_map in evar_defs
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6109 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/command.ml | 4 | ||||
| -rw-r--r-- | toplevel/himsg.ml | 1 | ||||
| -rw-r--r-- | toplevel/vernacentries.ml | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml index 33663ec219..6dad04c989 100644 --- a/toplevel/command.ml +++ b/toplevel/command.ml @@ -92,7 +92,7 @@ let constant_entry_of_com (bl,com,comtypopt,opacity) = let b = abstract_rawconstr com bl in let j = judgment_of_rawconstr sigma env b in { const_entry_body = j.uj_val; - const_entry_type = Some (Evarutil.refresh_universes j.uj_type); + const_entry_type = Some (refresh_universes j.uj_type); const_entry_opaque = opacity } | Some comtyp -> (* We use a cast to avoid troubles with evars in comtyp *) @@ -602,7 +602,7 @@ let build_scheme lnamedepindsort = let listdecl = Indrec.build_mutual_indrec env0 sigma lrecspec in let rec declare decl fi lrecref = let decltype = Retyping.get_type_of env0 Evd.empty decl in - let decltype = Evarutil.refresh_universes decltype in + let decltype = refresh_universes decltype in let ce = { const_entry_body = decl; const_entry_type = Some decltype; const_entry_opaque = false } in diff --git a/toplevel/himsg.ml b/toplevel/himsg.ml index e032b9f00a..8b1745bd3a 100644 --- a/toplevel/himsg.ml +++ b/toplevel/himsg.ml @@ -27,6 +27,7 @@ open Logic open Printer open Ast open Rawterm +open Evd let quote s = if !Options.v7 then s else h 0 (str "\"" ++ s ++ str "\"") diff --git a/toplevel/vernacentries.ml b/toplevel/vernacentries.ml index 1b87853bd4..2b2dc31387 100644 --- a/toplevel/vernacentries.ml +++ b/toplevel/vernacentries.ml @@ -1039,7 +1039,7 @@ let vernac_check_guard () = let (pfterm,_) = extract_open_pftreestate pts in let message = try - Inductiveops.control_only_guard (Evarutil.evar_env (goal_of_proof pf)) + Inductiveops.control_only_guard (Evd.evar_env (goal_of_proof pf)) pfterm; (str "The condition holds up to here") with UserError(_,s) -> |
