summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-09-02 09:58:43 -0600
committerKarl Williamson <public@khwilliamson.com>2012-09-13 21:14:00 -0600
commit1b0f46bfdeb9373b604bc2b77173cd26c0d37ecc (patch)
treea206c86485b86272106c7dd890bff39dc6367233 /regen
parent525b6419a6e9037dd46cd37b578c11266e7cd2b2 (diff)
downloadperl-1b0f46bfdeb9373b604bc2b77173cd26c0d37ecc.tar.gz
Rename regen'd hdr to reflect expanded capabilities
The recently added utf8_strings.h has been expanded to include more than just strings. I'm renaming it to avoid confusion.
Diffstat (limited to 'regen')
-rw-r--r--regen/unicode_constants.pl (renamed from regen/utf8_strings.pl)8
1 files changed, 4 insertions, 4 deletions
diff --git a/regen/utf8_strings.pl b/regen/unicode_constants.pl
index 311afacd62..73ec4ae0bf 100644
--- a/regen/utf8_strings.pl
+++ b/regen/unicode_constants.pl
@@ -4,14 +4,14 @@ use warnings;
require 'regen/regen_lib.pl';
use charnames qw(:loose);
-my $out_fh = open_new('utf8_strings.h', '>',
+my $out_fh = open_new('unicode_constants.h', '>',
{style => '*', by => $0,
from => "Unicode data"});
print $out_fh <<END;
-#ifndef H_UTF8_STRINGS /* Guard against nested #includes */
-#define H_UTF8_STRINGS 1
+#ifndef H_UNICODE_CONSTANTS /* Guard against nested #includes */
+#define H_UNICODE_CONSTANTS 1
/* This file contains #defines for various Unicode code points. The values
* the macros expand to are the native Unicode code point, or all or portions
@@ -112,7 +112,7 @@ while ( <DATA> ) {
print $out_fh "#define ${name}$suffix $str /* U+$cp */\n";
}
-print $out_fh "\n#endif /* H_UTF8_STRINGS */\n";
+print $out_fh "\n#endif /* H_UNICODE_CONSTANTS */\n";
read_only_bottom_close_and_rename($out_fh);