This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In pp_regcomp and pp_entereval, use newSVpvn_flags() to simplify code.
[perl5.git] / keywords.pl
index 3603570..7ce010e 100755 (executable)
@@ -1,4 +1,15 @@
 #!/usr/bin/perl -w
+# 
+# Regenerate (overwriting only if changed):
+#
+#    keywords.h
+#
+# from information stored in the DATA section of this file.
+#
+# Accepts the standard regen_lib -q and -v args.
+#
+# This script is normally invoked from regen.pl.
+
 use strict;
 
 require 'regen_lib.pl';
@@ -36,7 +47,7 @@ while (<DATA>) {
 
 print $kw "\n/* ex: set ro: */\n";
 
-close $kw or die "Error closing keywords.h-new: $!";
+safer_close($kw);
 
 rename_if_different("keywords.h-new", "keywords.h");