Skip to content

Commit ab81b35

Browse files
timsong-cpptkoeppe
authored andcommitted
[cpp.predefined] Place the __STDC_EMBED macros in the unconditionally defined paragraph
The incoming paper did not explicitly specify their placement, but they are clearly meant to be defined unconditionally.
1 parent d40449a commit ab81b35

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/preprocessor.tex

+10-10
Original file line numberDiff line numberDiff line change
@@ -2190,6 +2190,16 @@
21902190
The presumed line number can be changed by the \tcode{\#line} directive.
21912191
\end{footnote}
21922192

2193+
\item
2194+
\indextext{stdc__embed_not_found__@\mname{STDC_EMBED_NOT_FOUND}}%
2195+
\indextext{stdc__embed_found__@\mname{STDC_EMBED_FOUND}}%
2196+
\indextext{stdc__embed_empty__@\mname{STDC_EMBED_EMPTY}}%
2197+
\mname{STDC_EMBED_NOT_FOUND}, \mname{STDC_EMBED_FOUND}, and \mname{STDC_EMBED_EMPTY}\\
2198+
The integer literals \tcode{0}, \tcode{1}, and \tcode{2}, respectively.
2199+
\begin{note}
2200+
These represent values replaced from \grammarterm{has-embed-expression}{s}\iref{cpp.cond}.
2201+
\end{note}
2202+
21932203
\item
21942204
\indextext{__stdc_hosted__@\mname{STDC_HOSTED}}%
21952205
\indextext{implementation!hosted}%
@@ -2363,16 +2373,6 @@
23632373
Whether \mname{STDC} is predefined and if so, what its value is,
23642374
are \impldef{definition and meaning of \mname{STDC}}.
23652375

2366-
\item
2367-
\indextext{stdc__embed_not_found__@\mname{STDC_EMBED_NOT_FOUND}}%
2368-
\indextext{stdc__embed_found__@\mname{STDC_EMBED_FOUND}}%
2369-
\indextext{stdc__embed_empty__@\mname{STDC_EMBED_EMPTY}}%
2370-
\mname{STDC_EMBED_NOT_FOUND}, \mname{STDC_EMBED_FOUND}, and \mname{STDC_EMBED_EMPTY}\\
2371-
The integer literals \tcode{0}, \tcode{1}, and \tcode{2}, respectively.
2372-
\begin{note}
2373-
These represent values replaced from \grammarterm{has-embed-expression}{s}\iref{cpp.cond}.
2374-
\end{note}
2375-
23762376
\item
23772377
\indextext{__stdc_mb_might_neq_wc__@\mname{STDC_MB_MIGHT_NEQ_WC}}%
23782378
\mname{STDC_MB_MIGHT_NEQ_WC}\\

0 commit comments

Comments
 (0)