aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/SpecifSyntax.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-01-07 22:27:11 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-01-07 22:27:11 +0000
commit424bf8a5131aaf4960745c7050e5977c6e5fd4a5 (patch)
treee23b22a6a106a7cbc0cd54cd48098f5c6aaceb68 /theories/Init/SpecifSyntax.v
parentf5863b8f5a6c8791f089a2ddb43978a298394c95 (diff)
Renommage command en constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@267 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Init/SpecifSyntax.v')
-rw-r--r--theories/Init/SpecifSyntax.v20
1 files changed, 10 insertions, 10 deletions
diff --git a/theories/Init/SpecifSyntax.v b/theories/Init/SpecifSyntax.v
index 0c8700ceb..c399a74eb 100644
--- a/theories/Init/SpecifSyntax.v
+++ b/theories/Init/SpecifSyntax.v
@@ -6,26 +6,26 @@ Require Export Specif.
(* Parsing of things in Specif.v *)
-Grammar command command1 :=
- sig [ "{" lcommand($lc) ":" lcommand($c1) "|" lcommand($c2) "}" ]
+Grammar constr constr1 :=
+ sig [ "{" lconstr($lc) ":" lconstr($c1) "|" lconstr($c2) "}" ]
-> [<<(sig $c1 [$lc : $c1]$c2)>>]
-| sig2 [ "{" lcommand($lc) ":" lcommand($c1)
- "|" lcommand($c2) "&" lcommand($c3) "}" ]
+| sig2 [ "{" lconstr($lc) ":" lconstr($c1)
+ "|" lconstr($c2) "&" lconstr($c3) "}" ]
-> [<<(sig2 $c1 [$lc : $c1]$c2 [$lc : $c1]$c3)>>]
-| sigS [ "{" lcommand($lc) ":" lcommand($c1) "&" lcommand($c2) "}" ]
+| sigS [ "{" lconstr($lc) ":" lconstr($c1) "&" lconstr($c2) "}" ]
-> [<<(sigS $c1 [$lc : $c1]$c2)>>]
-| sigS2 [ "{" lcommand($lc) ":" lcommand($c1)
- "&" lcommand($c2) "&" lcommand($c3) "}" ]
+| sigS2 [ "{" lconstr($lc) ":" lconstr($c1)
+ "&" lconstr($c2) "&" lconstr($c3) "}" ]
-> [<<(sigS2 $c1 [$lc : $c1]$c2 [$lc : $c1]$c3)>>]
-| squash [ "{" lcommand($lc) "}" ] -> [(SQUASH $lc)].
+| squash [ "{" lconstr($lc) "}" ] -> [(SQUASH $lc)].
-Grammar command lassoc_command4 :=
+Grammar constr lassoc_constr4 :=
squash_sum
- [ lassoc_command4($c1) "+" lassoc_command4($c2) ] ->
+ [ lassoc_constr4($c1) "+" lassoc_constr4($c2) ] ->
case [$c2] of
(SQUASH $T2) ->
case [$c1] of