From b7917997c659aa39b7808ab2899858fc4803648d Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Wed, 11 Nov 2020 08:58:18 +0100 Subject: [PATCH] Fix \lstinline formatting of multi-line comment syntax --- chapters/syntax.tex | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/chapters/syntax.tex b/chapters/syntax.tex index dfdb29a63..6fefc52ad 100644 --- a/chapters/syntax.tex +++ b/chapters/syntax.tex @@ -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