aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/refman/RefMan-syn.tex
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-12 18:25:06 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-05-12 18:25:06 +0000
commit15bbdcfa63dd7fee30b3d03f98cf0795e4baf087 (patch)
treed547b755963a3f6c59fb2da66d30ab81ae4fa4de /doc/refman/RefMan-syn.tex
parent651a23b4b21045733d44a4bc944b6b56d449fe2e (diff)
MAJ et bricoles diverses
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10923 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc/refman/RefMan-syn.tex')
-rw-r--r--doc/refman/RefMan-syn.tex16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/refman/RefMan-syn.tex b/doc/refman/RefMan-syn.tex
index 9f607f05e..71e87b3f3 100644
--- a/doc/refman/RefMan-syn.tex
+++ b/doc/refman/RefMan-syn.tex
@@ -994,10 +994,10 @@ syntax
\noindent
\begin{tabular}{lcl}
-{\sentence} & ::= & \texttt{Tactic Notation} {\taclevel} \sequence{\proditem}{} \\
+{\sentence} & ::= & \texttt{Tactic Notation} \zeroone{\taclevel} \nelist{\proditem}{} \\
& & \texttt{:= {\tac} .}\\
{\proditem} & ::= & {\str} $|$ {\tacargtype}{\tt ({\ident})} \\
-{\taclevel} & ::= & $|$ {\tt (at level} {\naturalnumber}{\tt )} \\
+{\taclevel} & ::= & {\tt (at level} {\naturalnumber}{\tt )} \\
{\tacargtype} & ::= &
%{\tt preident} $|$
{\tt ident} $|$
@@ -1007,9 +1007,9 @@ syntax
{\tt reference} $|$
{\tt constr} \\ & $|$ &
%{\tt castedopenconstr} $|$
-{\tt integer} \\ & $|$ &
-{\tt int\_or\_var} $|$
-{\tt tactic} $|$
+{\tt integer} $|$
+{\tt int\_or\_var} \\ & $|$ &
+{\tt tactic} $|$ {\tt tactic$n$} \qquad\mbox{(for $0\leq n\leq 5$)}
\end{tabular}
\medskip
@@ -1021,7 +1021,8 @@ production items. It then evaluates into the tactic expression
symbol, i.e. a {\str}, for the first production item. The tactic
level indicates the parsing precedence of the tactic notation. This
information is particularly relevant for notations of tacticals.
-Levels 0 to 5 are available. To know the parsing precedences of the
+Levels 0 to 5 are available (default is 0).
+To know the parsing precedences of the
existing tacticals, use the command {\tt Print Grammar tactic.}
Each type of tactic argument has a specific semantic regarding how it
@@ -1045,7 +1046,8 @@ Tactic argument type & parsed as & interpreted as & as in tactic \\
%%{\tt\small castedopenconstr} & term & a term with its sign. of exist. var. & {\tt refine}\\
{\tt\small integer} & integer & an integer & \\
{\tt\small int\_or\_var} & identifier or integer & an integer & {\tt do} \\
-{\tt\small tactic} & tactic & a tactic & \\
+{\tt\small tactic} & tactic at level 5 & a tactic & \\
+{\tt\small tactic$n$} & tactic at level $n$ & a tactic & \\
\end{tabular}
\Rem In order to be bound in tactic definitions, each syntactic entry