Skip to content

Commit

Permalink
Use annotation-clause instead (as decided).
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Dec 20, 2019
1 parent 27ab728 commit 2e4b37b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions chapters/syntax.tex
Expand Up @@ -55,7 +55,7 @@ \section{Lexical conventions}\doublelabel{lexical-conventions}
has structured comments in the form of annotations and string
comments.
\item
Each description-string or string in annotations (= STRING with production annotation-comment in the
Each description-string or string in annotations (= STRING with production annotation-clause in the
grammar) may contain any member of the Unicode character set. All
other strings have to contain only the sub-set of Unicode characters
identical with the 7-bit US-ASCII character set. {[}\emph{As a
Expand Down Expand Up @@ -123,8 +123,8 @@ \subsection{Class Definition}\doublelabel{class-definition}
algorithm-section
}
[ external [ language-specification ]
[ external-function-call ] [ annotation-comment ] ";" ]
[ annotation-comment ";" ]
[ external-function-call ] [ annotation-clause ] ";" ]
[ annotation-clause ";" ]

language-specification :
STRING
Expand Down Expand Up @@ -156,7 +156,7 @@ \subsection{Class Definition}\doublelabel{class-definition}
\subsection{Extends}\doublelabel{extends}
\begin{lstlisting}[language=grammar]
extends-clause :
extends type-specifier [ class-modification ] [ annotation-comment ]
extends type-specifier [ class-modification ] [ annotation-clause ]

constraining-clause :
constrainedby type-specifier [ class-modification ]
Expand Down Expand Up @@ -409,11 +409,11 @@ \subsection{Expressions}\doublelabel{expressions1}
":" | expression

description :
description-string [ annotation-comment ]
description-string [ annotation-clause ]

description-string :
[ STRING { "+" STRING } ]

annotation-comment :
annotation-clause :
annotation class-modification
\end{lstlisting}

0 comments on commit 2e4b37b

Please sign in to comment.