Skip to content

Commit

Permalink
Remove keyword exceptions
Browse files Browse the repository at this point in the history
These exceptions are just confusing as the grammar actually allows both 'der' and 'initial' (and also 'pure') to be used as the callee of a function call expression.
  • Loading branch information
henrikt-ma committed Nov 22, 2021
1 parent cdc77b9 commit df5bcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/lexicalstructure.tex
Expand Up @@ -108,7 +108,7 @@ \subsection{Names}\label{names}

\subsection{Modelica Keywords}\label{modelica-keywords}

The following Modelica \firstuse{keywords}\index{keyword} 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!:
The following Modelica \firstuse{keywords}\index{keyword} are reserved words and shall not be used as identifiers:
\begin{center}
\begin{tabular}{l l l l l}
\lstinline!algorithm! & \lstinline!discrete! & \lstinline!false! & \lstinline!loop! & \lstinline!pure!\\ \hline
Expand Down

0 comments on commit df5bcba

Please sign in to comment.