aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2004-08-23 16:51:39 +0000
committerherbelin2004-08-23 16:51:39 +0000
commit26e0288ef95a716245c72b02311713f28b6a08fb (patch)
tree00045810814b998da3c515d7d3ed41843eb8823d
parente07c4d7d7545652ee0e5f2cd05c53b45f92e0df6 (diff)
Pas de notation v7 si purement en v8
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6023 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--toplevel/metasyntax.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/metasyntax.ml b/toplevel/metasyntax.ml
index 9cf20dec0b..205d48acde 100644
--- a/toplevel/metasyntax.ml
+++ b/toplevel/metasyntax.ml
@@ -1146,7 +1146,7 @@ let add_notation_in_scope local df c mods omodv8 scope toks =
let a = (remove_vars pprecvars acvars,ac) (* For recursive parts *) in
let old_pp_rule =
(* Used only by v7; disable if contains a recursive pattern *)
- if onlyparse or pprecvars <> [] then None
+ if onlyparse or pprecvars <> [] or not (!Options.v7) then None
else
let r = interp_global_rawconstr_with_vars vars c in
Some (make_old_pp_rule n symbols typs r intnot scope vars) in