Skip to content

Commit

Permalink
Add to index and have first use.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Aug 24, 2021
1 parent 3745105 commit 6f0ac8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chapters/packages.tex
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ \subsection{Summary of Rules for Import-Clauses}\label{summary-of-rules-for-impo
\item
An imported package or definition should always be referred to by its fully qualified name in the \lstinline!import!-clause.
\item
Multiple qualified \lstinline!import!-clauses shall not have the same import name.
Multiple qualified \lstinline!import!-clauses shall not have the same import name (see \cref{simple-name-lookup}).
\end{itemize}

\section{The Modelica Library Path -- MODELICAPATH}\label{the-modelica-library-path-modelicapath}
Expand Down
2 changes: 1 addition & 1 deletion chapters/scoping.tex
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ \subsection{Simple Name Lookup}\label{simple-name-lookup}
Among declared named elements (\lstinline!class-definition! and \lstinline!component-declaration!) of the class (including elements inherited from base classes).
\item
Among the import names of qualified \lstinline!import!-clauses in the \emph{instance} scope.
The import name of \lstinline!import A.B.C!; is \lstinline!C! and the import name of \lstinline!import D = A.B.C;! is \lstinline!D!.
The \firstuse{import name}\index{import name} of \lstinline!import A.B.C!; is \lstinline!C! and the import name of \lstinline!import D = A.B.C;! is \lstinline!D!.
\item
Among the public members of packages imported via unqualified \lstinline!import!-clauses in the \emph{instance} scope. It is an error if this step produces matches from several unqualified imports.
\end{itemize}
Expand Down

0 comments on commit 6f0ac8f

Please sign in to comment.