diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1998-07-06 16:43:54 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-08 04:27:27 +0000 |
commit | 735e0d5c42c27ff4648bbbb6a960bc17c7a17596 (patch) | |
tree | 102f85baa215aa6e0be6a512d094e430dd6912c0 /opcode.pl | |
parent | 248e23d9b695ef46108b0307a3e93bc148355a94 (diff) | |
download | perl-735e0d5c42c27ff4648bbbb6a960bc17c7a17596.tar.gz |
added patch to generate PPDEF(pp_foo)
Message-Id: <199807070043.UAA28572@monk.mps.ohio-state.edu>
Subject: [PATCH 5.004_70] Autogenerate declarations for opcodes
p4raw-id: //depot/perl@1370
Diffstat (limited to 'opcode.pl')
-rwxr-xr-x | opcode.pl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -207,6 +207,15 @@ 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) { + print PP "PPDEF(pp_$_)\n"; +} + +close PP or die "Error closing pp_proto.h: $!"; + ########################################################################### sub tab { local($l, $t) = @_; |