diff --git a/chapters/synchronous.tex b/chapters/synchronous.tex index 8c7d8f9f2..19bb2f1d8 100644 --- a/chapters/synchronous.tex +++ b/chapters/synchronous.tex @@ -514,7 +514,9 @@ \section{Clock Constructors}\label{clock-constructors} Clock variables can be declared in models, blocks, connectors, and records. A clock variable can be declared with the prefixes \lstinline!input!, \lstinline!output!, \lstinline!inner!, \lstinline!outer!, but \emph{not} with the prefixes \lstinline!flow!, \lstinline!stream!, \lstinline!discrete!, \lstinline!parameter!, or \lstinline!constant!. \begin{example} - \lstinline!connector ClockInput = input Clock;! +\begin{lstlisting}[language=modelica] +connector ClockInput = input Clock; +\end{lstlisting} \end{example} \end{itemize}