diff --git a/chapters/syntax.tex b/chapters/syntax.tex index 7cac58259..2132bfa5d 100644 --- a/chapters/syntax.tex +++ b/chapters/syntax.tex @@ -57,11 +57,11 @@ \section{Lexical conventions}\label{lexical-conventions} Modelica uses the same comment syntax as C++ and Java (i.e., \lstinline!//! signals the start of a line comment and \lstinline!/* $\ldots$ */! is a multi-line comment); comments may contain any Unicode character. Modelica also has structured comments in the form of annotations and string comments. \item - Each description-string or string in annotations (= \lstinline[language=grammar]!STRING! with production annotation-clause in the grammar) may contain any member of the Unicode character set. + Each \lstinline[language=grammar]!description-string! or string in annotations (that is, a \lstinline[language=grammar]!STRING! with production \lstinline[language=grammar]!annotation-clause! in the grammar) may contain any member of the Unicode character set. All other strings have to contain only the subset of Unicode characters identical with the 7-bit US-ASCII character set. \begin{nonnormative} As a consequence, operators like `\lstinline!>!' or `\lstinline!! and \lstinline!! or \lstinline!! and \lstinline!! define optionally begin and end of content that is HTML encoded. + Within a \lstinline[language=grammar]!description-string! the tags \lstinline!! and \lstinline!! or \lstinline!! and \lstinline!! define optionally begin and end of content that is HTML encoded. \end{nonnormative} \item Boldface denotes keywords of the Modelica language.