Skip to content

Commit

Permalink
Fix three cases of 'parameter-expression' -> 'parameter expression'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 2, 2020
1 parent de55f8b commit 322373c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions chapters/classes.tex
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions chapters/statements.tex
Expand Up @@ -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]
Expand Down

0 comments on commit 322373c

Please sign in to comment.