This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[5.004_71] Patch: svr4 hints updates for Unixware
[perl5.git] / opcode.pl
index 5891139..fe6e202 100755 (executable)
--- a/opcode.pl
+++ b/opcode.pl
@@ -207,6 +207,16 @@ print <<END;
 #endif
 END
 
+close OC or die "Error closing opcode.h: $!";
+
+open PP, '>pp_proto.h' or die "Error creating pp_proto.h: $!";
+for (@ops) {
+    next if /^i_(pre|post)(inc|dec)$/;
+    print PP "PPDEF(pp_$_)\n";
+}
+
+close PP or die "Error closing pp_proto.h: $!";
+
 ###########################################################################
 sub tab {
     local($l, $t) = @_;