Skip to content

Commit

Permalink
Use proper meta-symbol for repetition (and break line).
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Oct 9, 2020
1 parent 631885d commit 3c1be4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/annotations.tex
Expand Up @@ -226,7 +226,8 @@ \section{Annotations for Code Generation}\label{annotations-for-code-generation}
\begin{annotationdefinition}[smoothOrder]
\begin{synopsis}[grammar]\begin{lstlisting}[language=grammar]
"smoothOrder" "=" UNSIGNED-NUMBER ")"
"smoothOrder" "(" "normallyConstant" "=" IDENT [ "," "normallyConstant" "=" IDENT ] ")" "=" UNSIGNED-NUMBER ")"
"smoothOrder" "(" "normallyConstant" "=" IDENT
{ "," "normallyConstant" "=" IDENT } ")" "=" UNSIGNED-NUMBER ")"
\end{lstlisting}\end{synopsis}
\begin{semantics}
This annotation has only an effect within a function declaration.
Expand Down

0 comments on commit 3c1be4b

Please sign in to comment.