diff --git a/chapters/annotations.tex b/chapters/annotations.tex index cbc7697e4..d98de933d 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -1066,8 +1066,8 @@ \section{Annotations for the Graphical User Interface}\doublelabel{annotations-f \end{lstlisting} When creating a component, it is recommended to generate a declaration of the form -\begin{lstlisting}[language=modelica] - prefixes class-name component-name +\begin{lstlisting}[language=grammar] + type-prefix type-specifier component-declaration \end{lstlisting} The following prefixes may be included in the string \lstinline!prefixes!: \lstinline!inner!,