Skip to content

Commit

Permalink
Be more vague about appearance of Modelica keywords in listings
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 22, 2021
1 parent 4cd1077 commit 2789ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/introduction.tex
Expand Up @@ -103,7 +103,7 @@ \section{Notation and Grammar}\label{notation-and-grammar}

The meta symbols (of the extended BNF-grammar) are defined in~\cref{lexical-conventions}.

Boldface denotes keywords of the Modelica language.
In Modelica code listings, keywords are highlighted with color and may come in both normal weight and boldface, for example, \lstinline!connect! and \lstinline!equation!.
Keywords are reserved words and shall not be used as identifiers, with the exception of \lstinline!initial! which is a keyword in section headings, and \lstinline!der! which is a keyword for declaration functions, but it is also possible to call the functions \lstinline!initial! and \lstinline!der!.

See \cref{modelica-concrete-syntax} for a full lexical specification and grammar.

0 comments on commit 2789ee5

Please sign in to comment.