aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/dp/dp.ml
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-09 18:05:13 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-11-09 18:05:13 +0000
commit1a4a7fa6dbd7c43c5d6c99297d1b6c5c497c0589 (patch)
treefc18af5b3330e830a8e979bc551db46b25bda05d /plugins/dp/dp.ml
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/dp/dp.ml')
-rw-r--r--plugins/dp/dp.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/dp/dp.ml b/plugins/dp/dp.ml
index 636504361..46e5b50aa 100644
--- a/plugins/dp/dp.ml
+++ b/plugins/dp/dp.ml
@@ -22,6 +22,7 @@ open Tacticals
open Fol
open Names
open Nameops
+open Namegen
open Termops
open Coqlib
open Hipattern
@@ -125,7 +126,7 @@ let rename_global r =
with Not_found ->
let rec loop id =
if Hashtbl.mem used_names id then
- loop (lift_ident id)
+ loop (lift_subscript id)
else begin
Hashtbl.add used_names id ();
let s = string_of_id id in