From eacde12447648573d33515b40d5bbdf9bd301026 Mon Sep 17 00:00:00 2001 From: HOS Date: Thu, 8 Jun 2023 22:25:10 +0200 Subject: [PATCH] TranslationToEvaluable --- chapters/scoping.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/scoping.tex b/chapters/scoping.tex index 0af8f3c24..082ac69b9 100644 --- a/chapters/scoping.tex +++ b/chapters/scoping.tex @@ -92,7 +92,7 @@ \subsection{Composite Name Lookup}\label{composite-name-lookup} If the first identifier denotes a component, the rest of the name (e.g., \lstinline!B! or \lstinline!B.C!) is looked up among the declared named component elements of the component. \item If not found, and if the first identifier denotes a component and the composite name is used as a function call, the lookup is also performed among the declared elements of the component, and must find a non-operator function. - Each leading element, including the first one, must in this case be a scalar component, or \lstinline!component[j]! where \lstinline!component! is an array of components and the indices \lstinline!j! can be evaluated at translation time and \lstinline!component[j]! is a scalar. + Each leading element, including the first one, must in this case be a scalar component, or \lstinline!component[j]! where \lstinline!component! is an array of components and the indices \lstinline!j! are evaluable expressions and \lstinline!component[j]! is a scalar. All identifiers of the rest of the name (e.g., \lstinline!B! and \lstinline!B.C!) must be classes. That is, the composite name is comprised of one or more component names (optionally with indexing), followed by one or more class names. \item