From 0dd60bc60fe38a3ca8bc70a19431072b8729f58a Mon Sep 17 00:00:00 2001 From: Robert Xiao Date: Tue, 12 Nov 2024 07:33:14 -0800 Subject: [PATCH] Fix 0xCA -> 0x0A typo 0x0A (new line) was incorrectly written as 0xCA. --- src/lexical-elements.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lexical-elements.rst b/src/lexical-elements.rst index abc4ab2f..fbe00bc3 100644 --- a/src/lexical-elements.rst +++ b/src/lexical-elements.rst @@ -623,7 +623,7 @@ A :t:`byte string literal` is a :t:`literal` that consists of multiple :s:`[AsciiCharacter]s`. :dp:`fls_Xd6LnfzMb7t7` -The character sequence 0x0D 0xCA (carriage return, new line) is replaced by 0xCA +The character sequence 0x0D 0x0A (carriage return, new line) is replaced by 0x0A (new line) inside of a :t:`byte string literal`. .. _fls_msbaxfC09VkK: @@ -723,7 +723,7 @@ A :t:`c string literal` is a :t:`literal` that consists of multiple characters with an implicit 0x00 byte appended to it. :dp:`fls_XJprzaEn82Xs` -The character sequence 0x0D 0xCA (carriage return, new line) is replaced by 0xCA +The character sequence 0x0D 0x0A (carriage return, new line) is replaced by 0x0A (new line) inside of a :t:`c string literal`. .. _fls_p090c5oTnElW: @@ -1158,7 +1158,7 @@ String Literals A :t:`string literal` is a :t:`literal` that consists of multiple characters. :dp:`fls_NyiCpU2tzJlQ` -The character sequence 0x0D 0xCA (carriage return, new line) is replaced by 0xCA +The character sequence 0x0D 0x0A (carriage return, new line) is replaced by 0x0A (new line) inside of a :t:`string literal`. .. _fls_hucd52suu6it: