|
137 | 137 | A \defn{preprocessing directive} consists of a sequence of preprocessing tokens |
138 | 138 | that satisfies the following constraints: |
139 | 139 | At the start of translation phase 4, |
140 | | -the first token in the sequence, |
| 140 | +the first preprocessing token in the sequence, |
141 | 141 | referred to as a \defnadj{directive-introducing}{token}, |
142 | 142 | begins with the first character in the source file |
143 | 143 | (optionally after whitespace containing no new-line characters) or |
|
172 | 172 | one of the two preceding forms. |
173 | 173 | \end{itemize} |
174 | 174 |
|
175 | | -The last token in the sequence is the first token within the sequence that |
| 175 | +The last preprocessing token in the sequence is the first preprocessing token within the sequence that |
176 | 176 | is immediately followed by whitespace containing a new-line character. |
177 | 177 | \begin{footnote} |
178 | 178 | Thus, |
|
439 | 439 | \tcode{defined} |
440 | 440 | unary operator), |
441 | 441 | just as in normal text. |
442 | | -If the token |
| 442 | +If the preprocessing token |
443 | 443 | \tcode{defined} |
444 | 444 | is generated as a result of this replacement process |
445 | 445 | or use of the |
|
756 | 756 | \pnum |
757 | 757 | A \grammarterm{pp-module} shall not |
758 | 758 | appear in a context where \tcode{module} |
759 | | -or (if it is the first token of the \grammarterm{pp-module}) \tcode{export} |
| 759 | +or (if it is the first preprocessing token of the \grammarterm{pp-module}) \tcode{export} |
760 | 760 | is an identifier defined as an object-like macro. |
761 | 761 |
|
762 | 762 | \pnum |
|
817 | 817 | \pnum |
818 | 818 | A \grammarterm{pp-import} shall not |
819 | 819 | appear in a context where \tcode{import} |
820 | | -or (if it is the first token of the \grammarterm{pp-import}) \tcode{export} |
| 820 | +or (if it is the first preprocessing token of the \grammarterm{pp-import}) \tcode{export} |
821 | 821 | is an identifier defined as an object-like macro. |
822 | 822 |
|
823 | 823 | \pnum |
|
1202 | 1202 | For each parameter in the replacement list that is neither |
1203 | 1203 | preceded by a \tcode{\#} or \tcode{\#\#} preprocessing token nor |
1204 | 1204 | followed by a \tcode{\#\#} preprocessing token, the preprocessing tokens |
1205 | | -naming the parameter are replaced by a token sequence determined as follows: |
| 1205 | +naming the parameter are replaced by a preprocessing token sequence determined as follows: |
1206 | 1206 | \begin{itemize} |
1207 | 1207 | \item |
1208 | 1208 | If the parameter is of the form \grammarterm{va-opt-replacement}, |
|
1408 | 1408 | \end{note} |
1409 | 1409 | If the result is not a valid preprocessing token, |
1410 | 1410 | the behavior is undefined. |
1411 | | -The resulting token is available for further macro replacement. |
| 1411 | +The resulting preprocessing token is available for further macro replacement. |
1412 | 1412 | The order of evaluation of |
1413 | 1413 | \tcode{\#\#} |
1414 | 1414 | operators is unspecified. |
|
1451 | 1451 | "hello, world" |
1452 | 1452 | \end{codeblock} |
1453 | 1453 |
|
1454 | | -Space around the \tcode{\#} and \tcode{\#\#} tokens in the macro definition |
| 1454 | +Space around the \tcode{\#} and \tcode{\#\#} preprocessing tokens in the macro definition |
1455 | 1455 | is optional. |
1456 | 1456 | \end{example} |
1457 | 1457 |
|
|
1477 | 1477 | "x ## y" |
1478 | 1478 | \end{codeblock} |
1479 | 1479 |
|
1480 | | -In other words, expanding \tcode{hash_hash} produces a new token, |
1481 | | -consisting of two adjacent sharp signs, but this new token is not the |
| 1480 | +In other words, expanding \tcode{hash_hash} produces a new preprocessing token, |
| 1481 | +consisting of two adjacent sharp signs, but this new preprocessing token is not the |
1482 | 1482 | \tcode{\#\#} operator. |
1483 | 1483 | \end{example} |
1484 | 1484 |
|
|
1603 | 1603 | of the current source line is one greater than |
1604 | 1604 | the number of new-line characters read or introduced |
1605 | 1605 | in translation phase 1\iref{lex.phases} |
1606 | | -while processing the source file to the current token. |
| 1606 | +while processing the source file to the current preprocessing token. |
1607 | 1607 |
|
1608 | 1608 | \pnum |
1609 | 1609 | A preprocessing directive of the form |
|
0 commit comments