fixed spacing

git-svn-id: http://caml.inria.fr/svn/ocamldoc/trunk@13460 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2013-03-28 16:26:28 +00:00
parent e8ca7e5767
commit 1728f4677e
1 changed files with 3 additions and 2 deletions

View File

@ -128,7 +128,8 @@ of @typexpr@ is captured by @"'" ident@, and quantified upon.
polymorphic-variant-type:
'[' tag-spec-first { '|' tag-spec } ']'
| '[>' [ tag-spec ] { '|' tag-spec } ']'
| '[<' [ '|' ] tag-spec-full { '|' tag-spec-full } [ '>' {{ '`'tag-name }} ] ']'
| '[<' ['|'] tag-spec-full { '|' tag-spec-full }
[ '>' {{ '`'tag-name }} ] ']'
;
%\end{syntax} \begin{syntax}
tag-spec-first:
@ -140,7 +141,7 @@ tag-spec:
| typexpr
;
tag-spec-full:
'`'tag-name [ "of" [ '&' ] typexpr { '&' typexpr } ]
'`'tag-name [ "of" ['&'] typexpr { '&' typexpr } ]
| typexpr
\end{syntax}