|
140 | 140 | would arise from a source file ending with an unclosed \tcode{/*}
|
141 | 141 | comment.
|
142 | 142 | \end{footnote}
|
143 |
| -Each comment is replaced by one space character. New-line characters are |
| 143 | +Each comment\iref{lex.comment} is replaced by one space character. New-line characters are |
144 | 144 | retained. Whether each nonempty sequence of whitespace characters other
|
145 | 145 | than new-line is retained or replaced by one space character is
|
146 | 146 | unspecified.
|
|
153 | 153 | \grammarterm{r-char-sequence},
|
154 | 154 | \grammarterm{h-char-sequence}, or
|
155 | 155 | \grammarterm{q-char-sequence},
|
156 |
| -\grammarterm{universal-character-name}s are recognized and |
157 |
| -replaced by the designated element of the translation character set. |
| 156 | +\grammarterm{universal-character-name}s are recognized\iref{lex.universal.char} and |
| 157 | +replaced by the designated element of the translation character set\iref{lex.charset}. |
158 | 158 | The process of dividing a source file's
|
159 | 159 | characters into preprocessing tokens is context-dependent.
|
160 | 160 | \begin{example}
|
161 | 161 | See the handling of \tcode{<} within a \tcode{\#include} preprocessing
|
162 | 162 | directive\iref{cpp.include}.
|
163 | 163 | \end{example}
|
164 | 164 |
|
165 |
| -\item Preprocessing directives are executed, macro invocations are |
166 |
| -expanded, and \tcode{_Pragma} unary operator expressions are executed. |
167 |
| -A \tcode{\#include} preprocessing directive causes the named header or |
| 165 | +\item Preprocessing directives\iref{cpp} are executed, macro invocations are |
| 166 | +expanded\iref{cpp.replace}, and \tcode{_Pragma} unary operator expressions are executed\iref{cpp.pragma.op}. |
| 167 | +A \tcode{\#include} preprocessing directive\iref{cpp.include} causes the named header or |
168 | 168 | source file to be processed from phase 1 through phase 4, recursively.
|
169 | 169 | All preprocessing directives are then deleted.
|
170 | 170 |
|
|
0 commit comments