Skip to content

Commit

Permalink
Clarify that it's an error if cref does not designate a scalar variable
Browse files Browse the repository at this point in the history
  • Loading branch information
otronarp authored Aug 10, 2020
1 parent bf43dbc commit 1b616ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,8 @@ \subsubsection{Plot Curves}\doublelabel{plot-curves}
\end{lstlisting}

The mandatory \lstinline!x! and \lstinline!y! expressions are restricted to be
component references refering to a scalar variable or \lstinline!time!. If
\lstinline!x! or \lstinline!y! does not designate a variable the behavior is
unspecified.
component references refering to a scalar variable or \lstinline!time!. It
is an error if \lstinline!x! or \lstinline!y! does not designate a scalar variable.

When \lstinline!legend! isn't provided, the tool produces a default based on
\lstinline!x! and/or \lstinline!y!. Providing the empty string as
Expand Down

0 comments on commit 1b616ec

Please sign in to comment.