Skip to content

Commit d382ea4

Browse files
jensmaurertkoeppe
authored andcommitted
[module.global,cpp.glob.frag] Rename labels to ...global.frag. (#3351)
That is, rename [module.global] to [module.global.frag] and [cpp.glob.frag] to [cpp.global.frag]. Fixes NB US 088 (C++20 CD)
1 parent a06b7a4 commit d382ea4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@
19301930
if \tcode{D} would be visible to qualified name lookup\iref{namespace.qual}
19311931
at any point in the instantiation context\iref{module.context} of the lookup,
19321932
unless \tcode{D} is declared in another translation unit, attached to the global module,
1933-
and is either discarded\iref{module.global} or has internal linkage.
1933+
and is either discarded\iref{module.global.frag} or has internal linkage.
19341934
\end{itemize}
19351935

19361936
\pnum

source/modules.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@
563563
\end{codeblocktu}
564564
\end{example}
565565

566-
\rSec1[module.global]{Global module fragment}
566+
\rSec1[module.global.frag]{Global module fragment}
567567

568568
\begin{bnf}
569569
\nontermdef{global-module-fragment}\br
@@ -574,7 +574,7 @@
574574
\begin{note}
575575
Prior to phase 4 of translation,
576576
only preprocessing directives can appear
577-
in the \grammarterm{top-level-declaration-seq}\iref{cpp.glob.frag}.
577+
in the \grammarterm{top-level-declaration-seq}\iref{cpp.global.frag}.
578578
\end{note}
579579

580580
\pnum
@@ -913,7 +913,7 @@
913913
instantiation context\iref{module.context},
914914
\begin{itemize}
915915
\item $D$ appears prior to $P$ in the same translation unit, or
916-
\item $D$ is not discarded\iref{module.global},
916+
\item $D$ is not discarded\iref{module.global.frag},
917917
appears in a translation unit that is
918918
reachable from $P$,
919919
and

source/preprocessor.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
\end{example}
788788
\indextext{macro!import|)}
789789

790-
\rSec1[cpp.glob.frag]{Global module fragment}
790+
\rSec1[cpp.global.frag]{Global module fragment}
791791

792792
\begin{bnf}
793793
\nontermdef{pp-global-module-fragment}\br

0 commit comments

Comments
 (0)