aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorbarras2003-10-10 15:42:22 +0000
committerbarras2003-10-10 15:42:22 +0000
commitcc1b83979b9978fb2979ae8cda86daddaa62badb (patch)
treea13cc08f374cff641aea74a027cf6b7a85ffeb06 /interp
parentdb1658f0837918e27885c827cc29392068775fa6 (diff)
changement nouvelle syntaxe (pt fixes)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4559 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
-rw-r--r--interp/constrextern.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml
index 7a557f858f..7ec783e033 100644
--- a/interp/constrextern.ml
+++ b/interp/constrextern.ml
@@ -274,6 +274,8 @@ let translate_v7_string = function
| "simpl_plus_r" -> "plus_simpl_r"
| "fact_growing" -> "fact_le"
| "lt_mult_left" -> "lt_mult_S_left"
+ | "exists" -> "exists_between"
+ | "IHexists" -> "IHexists_between"
(* Lists *)
| "idempot_rev" -> "involutive_rev"
| "forall" -> "HereAndFurther"
@@ -310,6 +312,8 @@ let translate_v7_string = function
(s' = "unicite" or s' = "unicity") ->
"uniqueness"^(String.sub s 7 (String.length s - 7))
(* Default *)
+ | s when String.length s > 1 && s.[0]='_' ->
+ String.sub s 1 (String.length s - 1)
| "_" ->
msgerrnl (str
"Warning: '_' is no longer an ident; it has been translated to 'x_'");