Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
5bfbf871
Commit
5bfbf871
authored
Apr 07, 2017
by
POTTIER Francois
Browse files
Documentation: move a sentence about the type [production].
parent
53c67a0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/main.tex
View file @
5bfbf871
...
...
@@ -2187,6 +2187,9 @@ eventually be produced if the parser succeeds.
\end{verbatim}
The abstract type
\verb
+
production
+
represents a production of the grammar.
%
The ``start productions'' (which do not exist in an
\mly
file, but are
constructed by Menhir internally) are
\emph
{
not
}
part of this type.
%% type 'a checkpoint
...
...
@@ -2487,10 +2490,6 @@ The function \verb+production_index+ converts a production to an integer
number, whereas the function
\verb
+
find_production
+
carries out the reverse
conversion. It is an error to apply
\verb
+
find_production
+
to an invalid
index.
%
The ``start productions'' (which do not exist in an
\mly
file, but are
constructed by Menhir internally) are
\emph
{
not
}
part of the set of
productions represented by the type
\verb
+
production
+
.
%% type element
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment