Skip to content

Commit 939c73b

Browse files
authored
[lex.phases, lex.token] Provide unicode name for control characters (#7404)
1 parent c4eaf72 commit 939c73b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/lex.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@
129129
would arise from a source file ending with an unclosed \tcode{/*}
130130
comment.
131131
\end{footnote}
132-
Each comment\iref{lex.comment} is replaced by one space character. New-line characters are
132+
Each comment\iref{lex.comment} is replaced by one \unicode{0020}{space} character. New-line characters are
133133
retained. Whether each nonempty sequence of whitespace characters other
134-
than new-line is retained or replaced by one space character is
134+
than new-line is retained or replaced by one \unicode{0020}{space} character is
135135
unspecified.
136136
As characters from the source file are consumed
137137
to form the next preprocessing token
@@ -878,7 +878,8 @@
878878
\end{footnote}
879879
operators, and other separators.
880880
\indextext{whitespace}%
881-
Blanks, horizontal and vertical tabs, newlines, formfeeds, and comments
881+
Comments and the characters \unicode{0020}{space}, \unicode{0009}{character tabulation},
882+
\unicode{000b}{line tabulation}, \unicode{000c}{form feed}, and new-line
882883
(collectively, ``whitespace''), as described below, are ignored except
883884
as they serve to separate tokens.
884885
\begin{note}

0 commit comments

Comments
 (0)