diff --git a/chapters/operatorsandexpressions.tex b/chapters/operatorsandexpressions.tex index 4957ea1a5..621cf7026 100644 --- a/chapters/operatorsandexpressions.tex +++ b/chapters/operatorsandexpressions.tex @@ -292,7 +292,7 @@ \subsection{If-Expressions}\label{if-expressions} is one example of \lstinline!if!-expression. First \lstinline!expression1!, which must be \lstinline!Boolean! expression, is evaluated. If \lstinline!expression1! is true \lstinline!expression2! is evaluated and is the value of the \lstinline!if!-expression, else \lstinline!expression3! is evaluated and is the value of the \lstinline!if!-expression. The two expressions, \lstinline!expression2! and \lstinline!expression3!, must be type compatible expressions (\cref{type-compatible-expressions}) giving the type of the \lstinline!if!-expression. -\lstinline!if!-expressions with \lstinline!elseif!\index{elseif@\robustinline{elseif}!if-expression} are defined by replacing \lstinline!elseif! by \lstinline!else if!. +The \lstinline!if!-expressions with \lstinline!elseif!\index{elseif@\robustinline{elseif}!if-expression} are defined by replacing \lstinline!elseif! by \lstinline!else if!. For short-circuit evaluation see \cref{evaluation-order}. \begin{nonnormative}