diff options
author | Stephane Glondu <steph@glondu.net> | 2008-08-08 13:18:42 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2008-08-08 13:18:42 +0200 |
commit | 870075f34dd9fa5792bfbf413afd3b96f17e76a0 (patch) | |
tree | 0c647056de1832cf1dba5ba58758b9121418e4be /pretyping/evd.ml | |
parent | a0cfa4f118023d35b767a999d5a2ac4b082857b4 (diff) |
Imported Upstream version 8.2~beta4+dfsgupstream/8.2.beta4+dfsg
Diffstat (limited to 'pretyping/evd.ml')
-rw-r--r-- | pretyping/evd.ml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pretyping/evd.ml b/pretyping/evd.ml index 76a5ff26..bf3cd623 100644 --- a/pretyping/evd.ml +++ b/pretyping/evd.ml @@ -6,7 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(* $Id: evd.ml 11166 2008-06-22 13:23:35Z herbelin $ *) +(* $Id: evd.ml 11309 2008-08-06 10:30:35Z herbelin $ *) open Pp open Util @@ -523,6 +523,8 @@ let pr_sort_constraints (_,sm) = pr_sort_cstrs sm let meta_list evd = metamap_to_list evd.metas +let find_meta evd mv = Metamap.find mv evd.metas + let undefined_metas evd = List.sort Pervasives.compare (map_succeed (function | (n,Clval(_,_,typ)) -> failwith "" @@ -598,13 +600,13 @@ let meta_with_name evd id = match mvnodef, mvl with | _,[] -> errorlabstrm "Evd.meta_with_name" - (str"No such bound variable " ++ pr_id id) + (str"No such bound variable " ++ pr_id id ++ str".") | ([n],_|_,[n]) -> n | _ -> errorlabstrm "Evd.meta_with_name" (str "Binder name \"" ++ pr_id id ++ - str"\" occurs more than once in clause") + strbrk "\" occurs more than once in clause.") let meta_merge evd1 evd2 = |