Skip to content

Commit 7f0f1ff

Browse files
committed
[lex] Complete the use of unicode code points
Resolves #5502 Completes the task of applying Unicode code point markup to refer to single characters in normative text.
1 parent 48a7a72 commit 7f0f1ff

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/lex.tex

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@
9999
\indextext{line splicing}%
100100
If the first translation character is \unicode{feff}{byte order mark},
101101
it is deleted.
102-
Each sequence comprising a backslash character (\textbackslash)
102+
Each sequence comprising a \unicode{005c}{reverse solidus} character (\textbackslash)
103103
immediately followed by
104104
zero or more whitespace characters other than new-line followed by
105105
a new-line character is deleted, splicing
106106
physical source lines to form \defnx{logical source lines}{source line!logical}. Only the last
107-
backslash on any physical source line shall be eligible for being part
107+
\unicode{005c}{reverse solidus} on any physical source line shall be eligible for being part
108108
of such a splice.
109109
\begin{note}
110110
Line splicing can form
@@ -577,7 +577,8 @@
577577
circumstances during translation phase 4, whitespace (or the absence
578578
thereof) serves as more than preprocessing token separation. Whitespace
579579
can appear within a preprocessing token only as part of a header name or
580-
between the quotation characters in a character literal or
580+
between the \unicode{0027}{apostrophe} characters in a character literal
581+
or between the \unicode{0022}{quotation mark} characters in a
581582
string literal.
582583

583584
\pnum
@@ -728,13 +729,14 @@
728729
\end{note}
729730

730731
\pnum
731-
The appearance of either of the characters \tcode{'} or \tcode{\textbackslash} or of
732+
The appearance of either of the characters \unicode{0027}{apostrophe} or
733+
\unicode{005c}{reverse solidus} or of
732734
either of the character sequences \tcode{/*} or \tcode{//} in a
733735
\grammarterm{q-char-sequence} or an \grammarterm{h-char-sequence}
734736
is conditionally-supported with \impldef{meaning of \tcode{'}, \tcode{\textbackslash},
735737
\tcode{/*}, or \tcode{//} in a \grammarterm{q-char-sequence} or an
736738
\grammarterm{h-char-sequence}} semantics, as is the appearance of the character
737-
\tcode{"} in an \grammarterm{h-char-sequence}.
739+
\unicode{0022}{quotation mark} in an \grammarterm{h-char-sequence}.
738740
\begin{note}
739741
Thus, a sequence of characters
740742
that resembles an escape sequence can result in an error, be interpreted as the

0 commit comments

Comments
 (0)