Skip to content

Commit

Permalink
Merge pull request #2731 from modelica/henrikt-ma-patch-3
Browse files Browse the repository at this point in the history
Fix missing \lstinline on 'input' and 'output'
  • Loading branch information
HansOlsson committed Nov 23, 2020
2 parents d0ef5f0 + bc798b1 commit d07f925
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d07f925

Please sign in to comment.