Skip to content

Commit

Permalink
Fix \lstinline formatting of multi-line comment syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 11, 2020
1 parent 4abb11b commit b791799
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions chapters/syntax.tex
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ \section{Lexical conventions}\label{lexical-conventions}
String constant concatenation \lstinline!"a" "b"! becoming \lstinline!"ab"! (as in C) is
replaced by the \lstinline!"+"! operator in Modelica.
\item
Modelica uses the same comment syntax as C++ and Java (i.e., \lstinline!//!
signals the start of a line comment and \lstinline!/*! .... \lstinline!*/! is a multi-line
comment); comments may contain any Unicode character. Modelica also
has structured comments in the form of annotations and string
comments.
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 (= STRING with production annotation-clause in the
grammar) may contain any member of the Unicode character set. All
Expand Down

0 comments on commit b791799

Please sign in to comment.