Skip to content

Commit

Permalink
Update chapters/lexicalstructure.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Dec 10, 2021
1 parent 15b160b commit 6a10169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/lexicalstructure.tex
Expand Up @@ -35,8 +35,8 @@ \section{Comments}\label{comments}
The comment syntax is identical to that of C++.
\end{nonnormative}

Delimited Modelica comments do not nest, i.e., /* */ cannot be embedded within /*
*/. The following is \emph{invalid}:
Delimited Modelica comments do not nest, i.e., \lstinline!/* */! cannot be embedded within \lstinline!/* $\ldots$ */!.
The following is \emph{invalid}:
\begin{lstlisting}[language=modelica]
/* Invalid nesting of comments, the comment ends just before 'end'
model Interesting
Expand Down

0 comments on commit 6a10169

Please sign in to comment.