aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/funind/indfun_common.ml
diff options
context:
space:
mode:
authorGravatar jforest <jforest@daneel.lan.home>2015-04-09 22:19:31 +0200
committerGravatar jforest <jforest@daneel.lan.home>2015-04-14 20:56:32 +0200
commit6f40831dc1d0fecfbaf9fbc8116da0e74b6e8726 (patch)
tree64e84a45fc215d458bc220366399f65ef67307ae /plugins/funind/indfun_common.ml
parentefbc8eef69dd66c51d7f4b666d7b3ffeb99a35c7 (diff)
Function now supports puniveres
Diffstat (limited to 'plugins/funind/indfun_common.ml')
-rw-r--r--plugins/funind/indfun_common.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml
index 76f8c6d21..738ade8ca 100644
--- a/plugins/funind/indfun_common.ml
+++ b/plugins/funind/indfun_common.ml
@@ -108,7 +108,7 @@ let const_of_id id =
let _,princ_ref =
qualid_of_reference (Libnames.Ident (Loc.ghost,id))
in
- try Nametab.locate_constant princ_ref
+ try Constrintern.locate_reference princ_ref
with Not_found -> Errors.error ("cannot find "^ Id.to_string id)
let def_of_const t =
@@ -380,9 +380,9 @@ let find_Function_of_graph ind =
Indmap.find ind !from_graph
let update_Function finfo =
-(* Pp.msgnl (pr_info finfo); *)
+ (* Pp.msgnl (pr_info finfo); *)
Lib.add_anonymous_leaf (in_Function finfo)
-
+
let add_Function is_general f =
let f_id = Label.to_id (con_label f) in