|
1246 | 1246 |
|
1247 | 1247 | \begin{bnf}
|
1248 | 1248 | \nontermdef{simple-escape-sequence-char} \textnormal{one of}\br
|
1249 |
| - \terminal{' " ? \textbackslash a b f n r t v} |
| 1249 | + \terminal{' " ? \textbackslash{} a b f n r t v} |
1250 | 1250 | \end{bnf}
|
1251 | 1251 |
|
1252 | 1252 | \begin{bnf}
|
|
1318 | 1318 | determines encodability,
|
1319 | 1319 | but does not determine the value of
|
1320 | 1320 | non-encodable ordinary character literals or ordinary multicharacter literals.
|
1321 |
| -The examples for non-encodable ordinary and wide character literals assume that |
| 1321 | +The examples in \tref{lex.ccon.literal} |
| 1322 | +for non-encodable ordinary and wide character literals assume that |
1322 | 1323 | the specified character lacks representation in the execution character set, or
|
1323 | 1324 | that encoding it would require more than one code unit.
|
1324 | 1325 | \end{note}
|
|
1344 | 1345 | \keyword{int} &
|
1345 | 1346 | character set &
|
1346 | 1347 | \tcode{'abcd'} \\ \hline
|
1347 |
| -\tcode{'L'} & |
| 1348 | +\tcode{L} & |
1348 | 1349 | \defnx{wide character literal}{literal!character!wide} &
|
1349 | 1350 | \keyword{wchar_t} &
|
1350 | 1351 | encoding of &
|
1351 | 1352 | \tcode{L'w'} \\
|
1352 | 1353 | &
|
1353 | 1354 | non-encodable wide character literal &
|
1354 |
| - & |
| 1355 | +\keyword{wchar_t} & |
1355 | 1356 | the execution &
|
1356 | 1357 | \tcode{L'\textbackslash U0001F32A'} \\
|
1357 | 1358 | &
|
1358 | 1359 | wide multicharacter literal &
|
1359 |
| - & |
| 1360 | +\keyword{wchar_t} & |
1360 | 1361 | wide-character set &
|
1361 | 1362 | \tcode{L'abcd'} \\ \hline
|
1362 | 1363 | \tcode{u8} &
|
|
1800 | 1801 | \indextext{\idxcode{0}|seealso{zero, null}}%
|
1801 | 1802 | \indextext{\idxcode{0}!string terminator}%
|
1802 | 1803 | \indextext{\idxcode{0}!null character|see {character, null}}%
|
1803 |
| -In translation phase 7\iref{lex.phases}, |
1804 |
| -after adjacent string-literals are concatenated, |
| 1804 | +In translation phase 6\iref{lex.phases}, |
| 1805 | +after adjacent \grammarterm{string-literal}s are concatenated, |
1805 | 1806 | a null character is appended to the result.
|
1806 | 1807 |
|
1807 | 1808 | \pnum
|
|
1882 | 1883 | \item
|
1883 | 1884 | Each \grammarterm{conditional-escape-sequence}\iref{lex.ccon}
|
1884 | 1885 | contributes an
|
1885 |
| -\impdef{code unit sequence of \grammarterm{conditional-escape-sequence}} |
| 1886 | +\impldef{code unit sequence for \grammarterm{conditional-escape-sequence}} |
1886 | 1887 | code unit sequence.
|
1887 | 1888 | When encoding a stateful character encoding,
|
1888 | 1889 | it is
|
|
0 commit comments