From bc798b14b8f9bf9b3dce4eb899a1ec00e2e40f62 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Sun, 22 Nov 2020 21:48:15 +0100 Subject: [PATCH] Fix missing \lstinline on 'input' and 'output' Saw this in test related to #2730. --- chapters/functions.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chapters/functions.tex b/chapters/functions.tex index 9d1af9f42..0f5c6ecc9 100644 --- a/chapters/functions.tex +++ b/chapters/functions.tex @@ -129,8 +129,7 @@ \section{Function as a Specialized Class}\label{function-as-a-specialized-class} Modelica \lstinline!class!: \begin{itemize} \item - Each input formal parameter of the function must be prefixed by the - keyword input, and each result formal parameter by the keyword output. + Each input formal parameter of the function must be prefixed by \lstinline!input!, and each result formal parameter by \lstinline!output!. All public variables are formal parameters. \item Input formal parameters are read-only after being bound to the actual