|
500 | 500 | directives, and
|
501 | 501 | the \tcode{defined} conditional inclusion operator,
|
502 | 502 | shall treat \xname{has_include}, \xname{has_embed}, and \xname{has_cpp_attribute}
|
503 |
| -as if they were the names of defined macros. |
| 503 | +as if they were the macro names of defined macros. |
504 | 504 | The identifiers \xname{has_include}, \xname{has_embed}, and \xname{has_cpp_attribute}
|
505 | 505 | shall not appear in any context not mentioned in this subclause.
|
506 | 506 |
|
|
618 | 618 | Each directive's condition is checked in order.
|
619 | 619 | If it evaluates to false (zero),
|
620 | 620 | the group that it controls is skipped:
|
621 |
| -directives are processed only through the name that determines |
| 621 | +directives are processed only through the macro name that determines |
622 | 622 | the directive in order to keep track of the level
|
623 | 623 | of nested conditionals;
|
624 | 624 | the rest of the directives' preprocessing tokens are ignored,
|
|
1045 | 1045 | \end{note}
|
1046 | 1046 | \begin{example}
|
1047 | 1047 | If the directive matches the second form, the whole directive is replaced.
|
1048 |
| -If the directive matches the first form, everything after the name is replaced. |
| 1048 | +If the directive matches the first form, everything after the \grammarterm{header-name} is replaced. |
1049 | 1049 | \begin{codeblock}
|
1050 | 1050 | #define EMPTY
|
1051 | 1051 | #define X myfile
|
|
1532 | 1532 | \pnum
|
1533 | 1533 | \indextext{unit!translation}%
|
1534 | 1534 | A translation unit shall not \tcode{\#define} or \tcode{\#undef}
|
1535 |
| -names lexically identical |
| 1535 | +macro names lexically identical |
1536 | 1536 | to keywords,
|
1537 | 1537 | to the identifiers listed in \tref{lex.name.special}, or
|
1538 | 1538 | to the \grammarterm{attribute-token}{s} described in~\ref{dcl.attr},
|
1539 |
| -except that the names \tcode{likely} and \tcode{unlikely} may be |
| 1539 | +except that the macro names \tcode{likely} and \tcode{unlikely} may be |
1540 | 1540 | defined as function-like macros.
|
1541 | 1541 |
|
1542 | 1542 | \pnum
|
|
1571 | 1571 | An alternative token\iref{lex.digraph} is not an identifier,
|
1572 | 1572 | even when its spelling consists entirely of letters and underscores.
|
1573 | 1573 | Therefore it is not possible to define a macro
|
1574 |
| -whose name is the same as that of an alternative token. |
| 1574 | +whose macro name is the same as that of an alternative token. |
1575 | 1575 | \end{footnote}
|
1576 | 1576 | The replacement list is then rescanned for more macro names as
|
1577 | 1577 | specified below.
|
|
2022 | 2022 | \end{example}
|
2023 | 2023 |
|
2024 | 2024 | \pnum
|
2025 |
| -If the name of the macro being replaced is found during this scan of |
| 2025 | +If the macro name of the macro being replaced is found during this scan of |
2026 | 2026 | the replacement list
|
2027 | 2027 | (not including the rest of the source file's preprocessing tokens),
|
2028 | 2028 | it is not replaced.
|
2029 | 2029 | Furthermore,
|
2030 |
| -if any nested replacements encounter the name of the macro being replaced, |
| 2030 | +if any nested replacements encounter the macro name of the macro being replaced, |
2031 | 2031 | it is not replaced.
|
2032 | 2032 | These nonreplaced macro name preprocessing tokens are no longer available
|
2033 | 2033 | for further replacement even if they are later (re)examined in contexts
|
|
2191 | 2191 | replace the value of this macro with a greater value.
|
2192 | 2192 | \end{note}
|
2193 | 2193 |
|
2194 |
| -\item The names listed in \tref{cpp.predefined.ft}.\\ |
| 2194 | +\item The macro names listed in \tref{cpp.predefined.ft}.\\ |
2195 | 2195 | The macros defined in \tref{cpp.predefined.ft} shall be defined to
|
2196 | 2196 | the corresponding integer literal.
|
2197 | 2197 | \begin{note}
|
|
0 commit comments