Skip to content

Commit

Permalink
Fix reference to table.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 9, 2020
1 parent 22b221d commit 8dba6d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions chapters/operatorsandexpressions.tex
Expand Up @@ -86,6 +86,7 @@ \section{Operator Precedence and Associativity}\label{operator-precedence-and-as
conditional & \lstinline!if $\mathit{expr}$ then $\mathit{expr}$ else $\mathit{expr}$! & \lstinline!if b then 3 else x!\\ \hline
named argument & \lstinline!$\mathit{ident}$ = $\mathit{expr}$! & \lstinline!x = 2.26!\\ \hline
\end{tabular}
\label{tab:operator-precedence}
\end{table}

The conditional operator may also include elseif-clauses. Equality \lstinline!=! and
Expand Down
2 changes: 1 addition & 1 deletion chapters/overloaded.tex
Expand Up @@ -53,7 +53,7 @@ \section{Overview of overloaded operators}\label{overview-of-overloaded-operator
defined in its base class, for subtyping see \cref{interface-or-type-relationships}.

The precedence and associativity of the overloaded operators is
identical to the one defined in Table 3.1 in \cref{operator-precedence-and-associativity}.
identical to the one defined in \cref{tab:operator-precedence} in \cref{operator-precedence-and-associativity}.

\begin{nonnormative}
Note, the operator overloading as defined in this section is
Expand Down

0 comments on commit 8dba6d6

Please sign in to comment.