diff --git a/chapters/classes.tex b/chapters/classes.tex index ce63d98da..11d6e7153 100644 --- a/chapters/classes.tex +++ b/chapters/classes.tex @@ -692,7 +692,7 @@ \subsection{Short Class Definitions}\label{short-class-definitions} If a short class definition does not specify any specialized class the new class definition will inherit the specialized class (this rule applies iteratively and also for redeclare). -A \lstinline[language=grammar]!base-prefix! applied in the short class definition does not influence its type, but is applied to components declared of this type or types derived from it; see also \cref{restriction-on-combining-base-classes-and-other-elements}. +A \lstinline[language=grammar]!base-prefix! applied in the \lstinline[language=grammar]!short-class-definition! does not influence its type, but is applied to components declared of this type or types derived from it; see also \cref{restriction-on-combining-base-classes-and-other-elements}. \begin{example} \begin{lstlisting}[language=modelica]