aboutsummaryrefslogtreecommitdiff
path: root/plugins/interface
diff options
context:
space:
mode:
authorherbelin2009-11-09 18:05:13 +0000
committerherbelin2009-11-09 18:05:13 +0000
commit1a4a7fa6dbd7c43c5d6c99297d1b6c5c497c0589 (patch)
treefc18af5b3330e830a8e979bc551db46b25bda05d /plugins/interface
parentcb2f5d06481f9021f600eaefbdc6b33118bd346d (diff)
A bit of cleaning around name generation + creation of dedicated file namegen.ml
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12485 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/interface')
-rw-r--r--plugins/interface/pbp.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/interface/pbp.ml b/plugins/interface/pbp.ml
index b4dfe8a769..6032c3c000 100644
--- a/plugins/interface/pbp.ml
+++ b/plugins/interface/pbp.ml
@@ -21,12 +21,13 @@ open Libnames;;
open Genarg;;
open Topconstr;;
open Termops;;
+open Namegen;;
let zz = Util.dummy_loc;;
let hyp_radix = id_of_string "H";;
-let next_global_ident = next_global_ident_away true
+let next_global_ident = next_ident_away_in_goal
(* get_hyp_by_name : goal sigma -> string -> constr,
looks up for an hypothesis (or a global constant), from its name *)