diff --git a/chapters/classes.tex b/chapters/classes.tex index bd366f8fa..3c43021e9 100644 --- a/chapters/classes.tex +++ b/chapters/classes.tex @@ -524,11 +524,10 @@ \subsection{Conditional Component Declaration}\label{conditional-component-decla \end{lstlisting} \end{example} -The \emph{expression} must be a \lstinline!Boolean! scalar expression, and must be a -parameter-expression. +The \emph{expression} must be a \lstinline!Boolean! scalar expression, and must be a parameter expression. \begin{nonnormative} -A parameter-expression is required since it shall be evaluated at compile time. +A parameter expression is required since it shall be evaluated at compile time. \end{nonnormative} A redeclaration of a component shall not include a condition attribute; diff --git a/chapters/statements.tex b/chapters/statements.tex index dbc4fa894..104deb55c 100644 --- a/chapters/statements.tex +++ b/chapters/statements.tex @@ -194,8 +194,7 @@ \subsection{For-statement}\label{for-statement} \begin{lstlisting}[language=modelica] for IDENT in expression loop \end{lstlisting} -The rules for for-statements are the same as for for-expressions in \cref{explicit-iteration-ranges-of-for-equations} - -except that the \lstinline!expression! of a for-statement is not restricted to a parameter-expression. +The rules for for-statements are the same as for for-expressions in \cref{explicit-iteration-ranges-of-for-equations} -- except that the \lstinline!expression! of a for-statement is not restricted to a parameter expression. \begin{example} \begin{lstlisting}[language=modelica]