From 2e0a62eee4817411759f5bc2ff2db024862c473a Mon Sep 17 00:00:00 2001 From: herbelin Date: Wed, 11 Oct 2000 14:21:29 +0000 Subject: Niveau d'associativité du let git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@688 85f007b7-540e-0410-9357-904b9bb8a0f7 --- syntax/PPConstr.v | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/syntax/PPConstr.v b/syntax/PPConstr.v index 800d06d203..766446545f 100755 --- a/syntax/PPConstr.v +++ b/syntax/PPConstr.v @@ -58,10 +58,6 @@ Syntax constr soap [(SOAPP $lc1 ($LIST $cl))] -> [ [ "(" $lc1 ")@[" (NECOMMANDLIST ($LIST $cl)) "]"] ] -(* These are synonymous *) - | let [<<[$x = $M]$N>>] -> [ [ "[" $x "=" $M:E "]" [0 1] $N:E ] ] - | letin [<<[$x := $A]$B>>] -> [ [ "[" $x ":=" $A:E "]" [0 1] $B:E ] ] - (* For debug *) | abstpatnamed [[$id1]$c] -> [ [ "<<" $id1 ">>" [0 1] $c:E ] ] | abstpatanon [[ <> ]$c] -> [ [ "<<_>>" [0 1] $c:E ] ] @@ -132,6 +128,10 @@ Syntax constr | arrow [<< $A -> $B >>] -> [ [ $A:L [0 0] "->" (ARROWBOX $B) ] ] | arrow_stop [(ARROWBOX $c)] -> [ $c:E ] | arrow_again [(ARROWBOX << $A -> $B >>)] -> [ $A:L [0 0] "->" (ARROWBOX $B) ] + +(* These are synonymous *) + | let [<<[$x = $M]$N>>] -> [ [ "[" $x "=" $M:E "]" [0 1] $N:E ] ] + | letin [<<[$x := $A]$B>>] -> [ [ "[" $x ":=" $A:E "]" [0 1] $B:E ] ] ; (* Things parsed in command9 *) -- cgit v1.2.3