aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/extraction/mlutil.ml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extraction/mlutil.ml')
-rw-r--r--contrib/extraction/mlutil.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/extraction/mlutil.ml b/contrib/extraction/mlutil.ml
index 86de23302..5f954d776 100644
--- a/contrib/extraction/mlutil.ml
+++ b/contrib/extraction/mlutil.ml
@@ -206,7 +206,7 @@ let gen_subst v d t =
let i'= i-n in
if i' < 1 then a
else if i' < Array.length v then
- if v.(i') = 0 then MLdummy
+ if v.(i') = 0 then MLdummy'
else MLrel (v.(i')+n)
else MLrel (i+d)
| a -> ast_map_lift subst n a
@@ -817,7 +817,7 @@ let rec expunge_fix_decls prm v c b = function
let rec optimize prm = function
| [] ->
[]
- | (DdummyType r | Dterm(r,MLdummy)) as d :: l ->
+ | (DdummyType r | Dterm(r,MLdummy')) as d :: l ->
if List.mem r prm.to_appear then d :: (optimize prm l)
else optimize prm l
| Dterm (r,t) :: l ->