aboutsummaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorgregoire2003-03-26 14:02:21 +0000
committergregoire2003-03-26 14:02:21 +0000
commit8e13e6233ee4fc002f42290f1b7ae64a6e627162 (patch)
tree4cb6a8d9e9457579b5c011680eda287be12f47c2 /syntax
parentc491bb6d0cb8295af9e49cf2643ebc48de3629d8 (diff)
Ajout de Set Print Width
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3790 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'syntax')
-rwxr-xr-xsyntax/PPConstr.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/syntax/PPConstr.v b/syntax/PPConstr.v
index ddc6e35638..9094b0395c 100755
--- a/syntax/PPConstr.v
+++ b/syntax/PPConstr.v
@@ -34,7 +34,7 @@ Syntax constr
[ [<hov 0> (IDBINDER ($LIST $id))] ":" $c:E ]
| letbinder [ << (BINDERS (LETBINDER $c $id)) >> ] ->
- [ [<hov 0> $id ":=" $c:E ] ]
+ [ [<hov 0> id ":=" [0 1] $c:E ] ]
;
@@ -146,8 +146,8 @@ Syntax constr
(* redundant
| let [ [$x = $M]$N ] -> [ [<hov 0> "[" $x "=" $M:E "]" [0 1] $N:E ] ]
*)
- | letin [ << (LETIN $A [$x]$B) >> ] -> [ [ <hov 0> "[" $x ":=" $A:E "]" [0 1] $B:E ] ]
- | letincast [ << (LETIN (CAST $A $C) [$x]$B) >> ] -> [ [ <hov 0> "[" $x ":=" $A:E ":" $C:E "]" [0 1] $B:E ] ]
+ | letin [ << (LETIN $A [$x]$B) >> ] -> [ [ <hov 0> "[" $x ":=" [0 1] $A:E "]" [0 1] $B:E ] ]
+ | letincast [ << (LETIN (CAST $A $C) [$x]$B) >> ] -> [ [ <hov 0> "[" $x ":=" [0 1] $A:E ":" $C:E "]" [0 1] $B:E ] ]
;
(* Things parsed in command9 *)