summaryrefslogtreecommitdiff
path: root/opcode.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-30 10:50:10 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-30 10:50:10 +0000
commitd83386fa7d5c45c685aebc0edb0d42d3783a39e1 (patch)
treebccdb28c77f7f886630d95add38ee6bd1baccc89 /opcode.pl
parentf0720f70fca1466afb0baffc79f6af7a9e80f428 (diff)
downloadperl-d83386fa7d5c45c685aebc0edb0d42d3783a39e1.tar.gz
Remove the restriction that op_custom has to be the last op.
This allows more ops to be added during the life of a stable release. p4raw-id: //depot/perl@30782
Diffstat (limited to 'opcode.pl')
-rwxr-xr-xopcode.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/opcode.pl b/opcode.pl
index 3897ab16c5..abd8e6971b 100755
--- a/opcode.pl
+++ b/opcode.pl
@@ -46,7 +46,7 @@ my %alias;
# Format is "this function" => "does these op names"
my @raw_alias = (
Perl_do_kv => [qw( keys values )],
- Perl_unimplemented_op => [qw(padany mapstart)],
+ Perl_unimplemented_op => [qw(padany mapstart custom)],
# All the ops with a body of { return NORMAL; }
Perl_pp_null => [qw(scalar regcmaybe lineseq scope)],
@@ -240,7 +240,6 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
END
for (@ops) {
- $_ eq "custom" and next;
if (my $name = $alias{$_}) {
print "\tMEMBER_TO_FPTR($name),\t/* Perl_pp_$_ */\n";
}
@@ -523,7 +522,8 @@ sub tab {
__END__
-# New ops always go at the end, just before 'custom'
+# New ops always go at the end
+# The restriction on having custom as the last op has been removed
# A recapitulation of the format of this file:
# The file consists of five columns: the name of the op, an English