Skip to content

Commit 69a79fe

Browse files
committed
[lex] Complete the use of unicode code points
Completes the task of applying Unicode code point markup to refer to single characters in normative text. Replace all remaining uses of backslash as glyph (\) or text with the corresponding `unicode{005c}{reverse solidus}` markup. Replace a couple of text reference to single and double quotes with their corresponding Unicode markup, and similarly for the glyphs ` and ". This should compete the last Unicode markup in [lex].
1 parent f4c6085 commit 69a79fe

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
@@ -576,7 +576,8 @@
576576
circumstances during translation phase 4, whitespace (or the absence
577577
thereof) serves as more than preprocessing token separation. Whitespace
578578
can appear within a preprocessing token only as part of a header name or
579-
between the quotation characters in a character literal or
579+
between the \unicode{0027}{apostrophe} characters in a character literal
580+
or between the \unicode{0022}{quotation mark} characters in a
580581
string literal.
581582

582583
\pnum
@@ -727,13 +728,14 @@
727728
\end{note}
728729

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

0 commit comments

Comments
 (0)