Skip to content

Commit 69d7e83

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 508c4f9 commit 69d7e83

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 is eligible for being part
107+
\unicode{005c}{reverse solidus} on any physical source line is eligible for being part
108108
of such a splice.
109109
\begin{note}
110110
Line splicing can form
@@ -578,7 +578,8 @@
578578
circumstances during translation phase 4, whitespace (or the absence
579579
thereof) serves as more than preprocessing token separation. Whitespace
580580
can appear within a preprocessing token only as part of a header name or
581-
between the quotation characters in a character literal or
581+
between the \unicode{0027}{apostrophe} characters in a character literal
582+
or between the \unicode{0022}{quotation mark} characters in a
582583
string literal.
583584
\end{note}
584585

@@ -730,13 +731,14 @@
730731
\end{note}
731732

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

0 commit comments

Comments
 (0)