diff options
Diffstat (limited to 'plugins/extraction')
| -rw-r--r-- | plugins/extraction/common.ml | 3 | ||||
| -rw-r--r-- | plugins/extraction/extraction.ml | 2 | ||||
| -rw-r--r-- | plugins/extraction/table.ml | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/plugins/extraction/common.ml b/plugins/extraction/common.ml index 47381f6d80..73b51cfe7d 100644 --- a/plugins/extraction/common.ml +++ b/plugins/extraction/common.ml @@ -13,6 +13,7 @@ open Util open Names open Term open Declarations +open Namegen open Nameops open Libnames open Table @@ -92,7 +93,7 @@ type env = identifier list * Idset.t (*s Generic renaming issues for local variable names. *) let rec rename_id id avoid = - if Idset.mem id avoid then rename_id (lift_ident id) avoid else id + if Idset.mem id avoid then rename_id (lift_subscript id) avoid else id let rec rename_vars avoid = function | [] -> diff --git a/plugins/extraction/extraction.ml b/plugins/extraction/extraction.ml index d119dbe8ec..71bb634dad 100644 --- a/plugins/extraction/extraction.ml +++ b/plugins/extraction/extraction.ml @@ -20,7 +20,7 @@ open Inductive open Termops open Inductiveops open Recordops -open Nameops +open Namegen open Summary open Libnames open Nametab diff --git a/plugins/extraction/table.ml b/plugins/extraction/table.ml index 043bf0fe75..df9f02dfd6 100644 --- a/plugins/extraction/table.ml +++ b/plugins/extraction/table.ml @@ -12,6 +12,7 @@ open Names open Term open Declarations open Nameops +open Namegen open Summary open Libobject open Goptions |
