Skip to content

Commit

Permalink
Closes #2256
Browse files Browse the repository at this point in the history
Fixes trivial typos (found during conversion to LaTeX).
  • Loading branch information
HansOlsson committed May 11, 2019
1 parent f42216e commit c28d289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapters/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ \section{Specialized Classes}\doublelabel{specialized-classes}
component references in expressions and in the left hand side of
assignments, subject to normal type compatibility rules. The components
directly declared in a record may only be of specialized class record
and type..\\ \hline
and type.\\ \hline
\lstinline!type! & May only be predefined types, enumerations, array of
type, or classes extending from type.\\ \hline
\lstinline!model! & Identical to \lstinline!class!, the basic class concept, i.e., no
Expand Down
4 changes: 2 additions & 2 deletions chapters/scoping.tex
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ \subsection{Composite Name Lookup}\doublelabel{composite-name-lookup}
a scalar; and if the composite name is used as a function call, the
lookup is also performed among the declared named class elements of
the scalar component, and must find a non-operator function. All
identifiers of the rest of the name (e.g., B and B.C] must be
identifiers of the rest of the name (e.g., B and B.C) must be
classes.
\item
If the identifier denotes a class, that class is temporarily flattened
(as if instantiating a component without modifiers of this class, see
\autoref{modification-environment}) and using the enclosing classes of the denoted class.
The rest of the name (e.g., \lstinline!B! or \lstinline!B.C!{]} is looked up among the
The rest of the name (e.g., \lstinline!B! or \lstinline!B.C!) is looked up among the
declared named elements of the temporary flattened class. If the class
does not satisfy the requirements for a package, the lookup is
restricted to encapsulated elements only. The class we look inside may
Expand Down

0 comments on commit c28d289

Please sign in to comment.