aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing
diff options
context:
space:
mode:
authorGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-17 08:38:12 +0000
committerGravatar barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-12-17 08:38:12 +0000
commit032ac3721ccf40694e185a7187b71961c7d69a01 (patch)
tree269f9dce210eb28747b371d1dceaab0cc7575bfe /parsing
parentf72f4d711636d1d74720697908f6853880d5d885 (diff)
ajout test de non-regression Clear d'une def locale
reparation bug affichage des clauses git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@5108 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing')
-rw-r--r--parsing/pptactic.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/parsing/pptactic.ml b/parsing/pptactic.ml
index 8f313f1f3..f729ccd3c 100644
--- a/parsing/pptactic.ml
+++ b/parsing/pptactic.ml
@@ -486,8 +486,11 @@ and pr_atom1 = function
hov 1 (str "Generalize" ++ spc () ++ str "Dependent" ++ spc () ++
pr_constr c)
| TacLetTac (id,c,cl) ->
+ let pcl = match cl with
+ {onhyps=None;onconcl=true;concl_occs=[]} -> mt()
+ | _ -> pr_clauses pr_ident cl in
hov 1 (str "LetTac" ++ spc () ++ pr_id id ++ str ":=" ++
- pr_constr c ++ pr_clauses pr_ident cl)
+ pr_constr c ++ pcl)
| TacInstantiate (n,c,cls) ->
hov 1 (str "Instantiate" ++ pr_arg int n ++ pr_arg pr_constr c ++
pr_clauses pr_ident cls)