This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
unicode_constants.h: Add #defines for CR, LF
authorKarl Williamson <public@khwilliamson.com>
Sat, 13 Apr 2013 15:51:34 +0000 (09:51 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 15:56:06 +0000 (09:56 -0600)
regen/unicode_constants.pl
unicode_constants.h

index 78e0110..78a7c96 100644 (file)
@@ -161,6 +161,8 @@ BOM first
 BOM tail
 
 DEL native
 BOM tail
 
 DEL native
+CR  native
+LF  native
 U+00DF native
 U+00E5 native
 U+00C5 native
 U+00DF native
 U+00E5 native
 U+00C5 native
index 35842a3..38b438a 100644 (file)
@@ -41,6 +41,8 @@
 #define BOM_UTF8_TAIL  "\xBB\xBF"    /* U+FEFF */
 
 #define DEL_NATIVE  0x7F    /* U+007F */
 #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 */
 #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 */