From: Karl Williamson Date: Sat, 13 Apr 2013 15:51:34 +0000 (-0600) Subject: unicode_constants.h: Add #defines for CR, LF X-Git-Tag: v5.19.4~357^2~11 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/c5eda08a3ed28f8c2b583618101553353dae3b51?hp=2ca8589c5190f9016bfcdbc996f56ad0b8557fef unicode_constants.h: Add #defines for CR, LF --- diff --git a/regen/unicode_constants.pl b/regen/unicode_constants.pl index 78e0110..78a7c96 100644 --- a/regen/unicode_constants.pl +++ b/regen/unicode_constants.pl @@ -161,6 +161,8 @@ BOM first BOM tail DEL native +CR native +LF native U+00DF native U+00E5 native U+00C5 native diff --git a/unicode_constants.h b/unicode_constants.h index 35842a3..38b438a 100644 --- a/unicode_constants.h +++ b/unicode_constants.h @@ -41,6 +41,8 @@ #define BOM_UTF8_TAIL "\xBB\xBF" /* U+FEFF */ #define DEL_NATIVE 0x7F /* U+007F */ +#define CR_NATIVE 0x0D /* U+000D */ +#define LF_NATIVE 0x0A /* U+000A */ #define LATIN_SMALL_LETTER_SHARP_S_NATIVE 0xDF /* U+00DF */ #define LATIN_SMALL_LETTER_A_WITH_RING_ABOVE_NATIVE 0xE5 /* U+00E5 */ #define LATIN_CAPITAL_LETTER_A_WITH_RING_ABOVE_NATIVE 0xC5 /* U+00C5 */