Skip to content

Commit 9bffba9

Browse files
committed
[lex.separate] Redistribute second comment
The second comment in [lex.separate] is both too specific, and not specific enough. Move the last sentence about use of separately translated TUs to the end of the first note, where it seems most appropriate. Move the rest of the note to the end of translation phase 8, where we are in a position to talk about preserving the separately translated TUs *and instantiation units* for linking in phase 9.
1 parent 324f564 commit 9bffba9

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

source/lex.tex

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,8 @@
3939
called a \defnadj{preprocessing}{translation unit}.
4040
\begin{note}
4141
A \Cpp{} program need not all be translated at the same time.
42-
\end{note}
43-
44-
\pnum
45-
\begin{note}
46-
Previously translated translation units and instantiation
47-
units can be preserved individually or in libraries. The separate
48-
translation units of a program communicate\iref{basic.link} by (for
49-
example)
50-
calls to functions whose identifiers have external or module linkage,
51-
manipulation of objects whose identifiers have external or module linkage, or
52-
manipulation of data files. Translation units can be separately
53-
translated and then later linked to produce an executable
54-
program\iref{basic.link}.
42+
Translation units can be separately translated and then later linked to
43+
produce an executable program\iref{basic.link}.
5544
\end{note}
5645
\indextext{compilation!separate|)}
5746

@@ -240,6 +229,15 @@
240229
\end{note}
241230
The
242231
program is ill-formed if any instantiation fails.
232+
\begin{note}
233+
Previously translated translation units and instantiation
234+
units can be preserved individually or in libraries. The separate
235+
translation units of a program communicate\iref{basic.link} by (for
236+
example)
237+
calls to functions whose identifiers have external or module linkage,
238+
manipulation of objects whose identifiers have external or module linkage, or
239+
manipulation of data files.
240+
\end{note}
243241

244242
\item All external entity references are resolved. Library
245243
components are linked to satisfy external references to

0 commit comments

Comments
 (0)