Skip to content

Commit

Permalink
Change ':' non-associativity example to fit better in line
Browse files Browse the repository at this point in the history
Considering that there's a binary range operator expression, I think this variant should work just as fine as the old one.
  • Loading branch information
henrikt-ma committed Nov 12, 2021
1 parent ba4a09a commit 57eac19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ \section{Operator Precedence and Associativity}\label{operator-precedence-and-as
Non-associative exponentiation and array range operator:
\begin{lstlisting}[language=modelica]
x ^ y ^ z // Not legal, use parentheses to make it clear.
a:b:c:d:e:f:g // Not legal, and scalar arguments gives no legal interpretation.
a : b : c : d // Not legal, and scalar arguments gives no legal interpretation.
\end{lstlisting}
\end{nonnormative}

Expand Down

0 comments on commit 57eac19

Please sign in to comment.