From 6ff2a3715b2fea9c8cc1b5a6f90eaa29db9f9f49 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Mon, 12 Apr 2021 17:38:56 +0200 Subject: [PATCH] Change one case of "short class definition" -> "short-class-definition" Addressing comment by Hans: - https://github.com/modelica/ModelicaSpecification/pull/2916#discussion_r611546427 --- chapters/classes.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]