aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-09-23 11:18:41 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-09-23 11:18:41 +0000
commit87ab5e4f9a4f93d152df721f97a0bcb6cddef973 (patch)
tree53f9e45dc0a5d10f180af85876f45b3cf27ba266 /parsing
parent090b29f754f44882a49961764e63be18f0d356c4 (diff)
Changement de l'afficheur pour que les variables liées aient un nom indépendant des globaux quand hors but (on garde l'évitement des globaux en but, pour compatibilité)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4458 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing')
-rw-r--r--parsing/termast.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/parsing/termast.ml b/parsing/termast.ml
index da683e5fa..3174898c4 100644
--- a/parsing/termast.ml
+++ b/parsing/termast.ml
@@ -337,7 +337,7 @@ let ast_of_constr at_top env t =
else Reductionops.local_strong strip_outer_cast t in
let avoid = if at_top then ids_of_context env else [] in
ast_of_raw
- (Detyping.detype env avoid (names_of_rel_context env) t')
+ (Detyping.detype (at_top,env) avoid (names_of_rel_context env) t')
let ast_of_constant env sp =
let a = ast_of_constant_ref sp in
@@ -432,8 +432,8 @@ let rec ast_of_pattern tenv env = function
| PMeta (Some n) -> ope("META",[ast_of_ident n])
| PMeta None -> ope("ISEVAR",[])
- | PFix f -> ast_of_raw (Detyping.detype tenv [] env (mkFix f))
- | PCoFix c -> ast_of_raw (Detyping.detype tenv [] env (mkCoFix c))
+ | PFix f -> ast_of_raw (Detyping.detype (false,tenv) [] env (mkFix f))
+ | PCoFix c -> ast_of_raw (Detyping.detype (false,tenv) [] env (mkCoFix c))
and ast_of_patopt tenv env = function
| None -> (string "SYNTH")