Skip to content

Commit 29c89b1

Browse files
jensmaurertkoeppe
authored andcommitted
[lex] Rename U+0007 BELL to ALERT
The former is ambiguous with U+1F514 BELL. The ALERT alias is defined in UCD NameAliases.txt.
1 parent 2ad67ae commit 29c89b1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

source/lex.tex

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,16 @@
322322
The \defnadj{basic literal}{character set} consists of
323323
all characters of the basic character set,
324324
plus the control characters specified in \tref{lex.charset.literal}.
325+
\begin{note}
326+
The alias \uname{bell} for \ucode{0007} shown in ISO 10646
327+
is ambiguous with \unicode{1f514}{bell}.
328+
\end{note}
329+
325330
\begin{floattable}{Additional control characters in the basic literal character set}{lex.charset.literal}{ll}
326331
\topline
327332
\ohdrx{2}{character} \\ \capsep
328333
\ucode{0000} & \uname{null} \\
329-
\ucode{0007} & \uname{bell} \\
334+
\ucode{0007} & \uname{alert} \\
330335
\ucode{0008} & \uname{backspace} \\
331336
\ucode{000d} & \uname{carriage return} \\
332337
\end{floattable}
@@ -1503,7 +1508,7 @@
15031508
\ucode{0008} & \uname{backspace} & \tcode{\textbackslash b} \\
15041509
\ucode{000d} & \uname{carriage return} & \tcode{\textbackslash r} \\
15051510
\ucode{000c} & \uname{form feed} & \tcode{\textbackslash f} \\
1506-
\ucode{0007} & \uname{bell} & \tcode{\textbackslash a} \\
1511+
\ucode{0007} & \uname{alert} & \tcode{\textbackslash a} \\
15071512
\ucode{005c} & \uname{reverse solidus} & \tcode{\textbackslash\textbackslash} \\
15081513
\ucode{003f} & \uname{question mark} & \tcode{\textbackslash ?} \\
15091514
\ucode{0027} & \uname{apostrohpe} & \tcode{\textbackslash '} \\

0 commit comments

Comments
 (0)