|
135 | 135 | A \defn{preprocessing directive} consists of a sequence of preprocessing tokens
|
136 | 136 | that satisfies the following constraints:
|
137 | 137 | At the start of translation phase 4,
|
138 |
| -the first token in the sequence, |
| 138 | +the first preprocessing token in the sequence, |
139 | 139 | referred to as a \defnadj{directive-introducing}{token},
|
140 | 140 | begins with the first character in the source file
|
141 | 141 | (optionally after whitespace containing no new-line characters) or
|
|
170 | 170 | one of the two preceding forms.
|
171 | 171 | \end{itemize}
|
172 | 172 |
|
173 |
| -The last token in the sequence is the first token within the sequence that |
| 173 | +The last preprocessing token in the sequence is the first preprocessing token within the sequence that |
174 | 174 | is immediately followed by whitespace containing a new-line character.
|
175 | 175 | \begin{footnote}
|
176 | 176 | Thus,
|
|
446 | 446 | \tcode{defined}
|
447 | 447 | unary operator),
|
448 | 448 | just as in normal text.
|
449 |
| -If the token |
| 449 | +If the preprocessing token |
450 | 450 | \tcode{defined}
|
451 | 451 | is generated as a result of this replacement process
|
452 | 452 | or use of the
|
|
763 | 763 | \pnum
|
764 | 764 | A \grammarterm{pp-module} shall not
|
765 | 765 | appear in a context where \tcode{module}
|
766 |
| -or (if it is the first token of the \grammarterm{pp-module}) \tcode{export} |
| 766 | +or (if it is the first preprocessing token of the \grammarterm{pp-module}) \tcode{export} |
767 | 767 | is an identifier defined as an object-like macro.
|
768 | 768 |
|
769 | 769 | \pnum
|
|
824 | 824 | \pnum
|
825 | 825 | A \grammarterm{pp-import} shall not
|
826 | 826 | appear in a context where \tcode{import}
|
827 |
| -or (if it is the first token of the \grammarterm{pp-import}) \tcode{export} |
| 827 | +or (if it is the first preprocessing token of the \grammarterm{pp-import}) \tcode{export} |
828 | 828 | is an identifier defined as an object-like macro.
|
829 | 829 |
|
830 | 830 | \pnum
|
|
1209 | 1209 | For each parameter in the replacement list that is neither
|
1210 | 1210 | preceded by a \tcode{\#} or \tcode{\#\#} preprocessing token nor
|
1211 | 1211 | followed by a \tcode{\#\#} preprocessing token, the preprocessing tokens
|
1212 |
| -naming the parameter are replaced by a token sequence determined as follows: |
| 1212 | +naming the parameter are replaced by a preprocessing token sequence determined as follows: |
1213 | 1213 | \begin{itemize}
|
1214 | 1214 | \item
|
1215 | 1215 | If the parameter is of the form \grammarterm{va-opt-replacement},
|
|
1415 | 1415 | \end{note}
|
1416 | 1416 | If the result is not a valid preprocessing token,
|
1417 | 1417 | the behavior is undefined.
|
1418 |
| -The resulting token is available for further macro replacement. |
| 1418 | +The resulting preprocessing token is available for further macro replacement. |
1419 | 1419 | The order of evaluation of
|
1420 | 1420 | \tcode{\#\#}
|
1421 | 1421 | operators is unspecified.
|
|
1458 | 1458 | "hello, world"
|
1459 | 1459 | \end{codeblock}
|
1460 | 1460 |
|
1461 |
| -Space around the \tcode{\#} and \tcode{\#\#} tokens in the macro definition |
| 1461 | +Space around the \tcode{\#} and \tcode{\#\#} preprocessing tokens in the macro definition |
1462 | 1462 | is optional.
|
1463 | 1463 | \end{example}
|
1464 | 1464 |
|
|
1484 | 1484 | "x ## y"
|
1485 | 1485 | \end{codeblock}
|
1486 | 1486 |
|
1487 |
| -In other words, expanding \tcode{hash_hash} produces a new token, |
1488 |
| -consisting of two adjacent sharp signs, but this new token is not the |
| 1487 | +In other words, expanding \tcode{hash_hash} produces a new preprocessing token, |
| 1488 | +consisting of two adjacent sharp signs, but this new preprocessing token is not the |
1489 | 1489 | \tcode{\#\#} operator.
|
1490 | 1490 | \end{example}
|
1491 | 1491 |
|
|
1612 | 1612 | i.e., it is one greater than
|
1613 | 1613 | the number of new-line characters read or introduced
|
1614 | 1614 | in translation phase 1\iref{lex.phases}
|
1615 |
| -while processing the source file to the current token. |
| 1615 | +while processing the source file to the current preprocessing token. |
1616 | 1616 |
|
1617 | 1617 | \pnum
|
1618 | 1618 | A preprocessing directive of the form
|
|
0 commit comments