diff options
author | Artur Bergman <sky@nanisky.com> | 2001-09-10 10:02:51 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-09-10 10:02:51 +0000 |
commit | 19e8ce8e5f1ac60deced7aff63c00270eec46957 (patch) | |
tree | 438ab66fd0092b89295dae0b19886d33a56e9b65 /opcode.pl | |
parent | 7a799e204b140f54600dab7d4a7b8f748e814b8f (diff) | |
download | perl-19e8ce8e5f1ac60deced7aff63c00270eec46957.tar.gz |
Remove #ifdef PERL_CUSTOM_OPS, always build with PERL_CUSTOM_OPS
Rename to custop_op_name to Perl_custom_op_name to match perlapi
Clone the hashtable PL_custom_op_names and PL_custop_op_descs in
perl_clone.
p4raw-id: //depot/perl@11968
Diffstat (limited to 'opcode.pl')
-rwxr-xr-x | opcode.pl | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -65,15 +65,11 @@ print <<END; START_EXTERN_C -#ifdef PERL_CUSTOM_OPS + #define OP_NAME(o) (o->op_type == OP_CUSTOM ? custom_op_name(o) : \\ PL_op_name[o->op_type]) #define OP_DESC(o) (o->op_type == OP_CUSTOM ? custom_op_desc(o) : \\ PL_op_desc[o->op_type]) -#else -#define OP_NAME(o) PL_op_name[o->op_type] -#define OP_DESC(o) PL_op_desc[o->op_type] -#endif #ifndef DOINIT EXT char *PL_op_name[]; |