This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Typos in opcode.pl this time.
authorSteve Peters <steve@fisharerojo.org>
Sat, 5 Nov 2005 01:39:51 +0000 (01:39 +0000)
committerSteve Peters <steve@fisharerojo.org>
Sat, 5 Nov 2005 01:39:51 +0000 (01:39 +0000)
p4raw-id: //depot/perl@26008

opcode.h
opcode.pl

index 3b33935..1d10059 100644 (file)
--- a/opcode.h
+++ b/opcode.h
@@ -925,12 +925,12 @@ EXT Perl_ppaddr_t PL_ppaddr[] /* or perlvars.h */
        MEMBER_TO_FPTR(Perl_pp_range),
        MEMBER_TO_FPTR(Perl_pp_flip),
        MEMBER_TO_FPTR(Perl_pp_flop),
-       MEMBER_TO_FPTR(Perl_pp_and),    /* Perl_pp_and */
-       MEMBER_TO_FPTR(Perl_pp_or),     /* Perl_pp_or */
+       MEMBER_TO_FPTR(Perl_pp_and),
+       MEMBER_TO_FPTR(Perl_pp_or),
        MEMBER_TO_FPTR(Perl_pp_xor),
        MEMBER_TO_FPTR(Perl_pp_cond_expr),
-       MEMBER_TO_FPTR(Perl_pp_andassign),
-       MEMBER_TO_FPTR(Perl_pp_orassign),
+       MEMBER_TO_FPTR(Perl_pp_and),    /* Perl_pp_andassign */
+       MEMBER_TO_FPTR(Perl_pp_or),     /* Perl_pp_orassign */
        MEMBER_TO_FPTR(Perl_pp_method),
        MEMBER_TO_FPTR(Perl_pp_entersub),
        MEMBER_TO_FPTR(Perl_pp_leavesub),
index 9f12344..4582b9b 100755 (executable)
--- a/opcode.pl
+++ b/opcode.pl
@@ -74,8 +74,8 @@ my @raw_alias = (
                 Perl_pp_shmwrite => [qw(shmread msgsnd msgrcv semop)],
                 Perl_pp_send => ['syswrite'],
                 Perl_pp_defined => [qw(dor dorassign)],
-                 Perl_pp_and => ['and'],
-                Perl_pp_or => ['or'],
+                 Perl_pp_and => ['andassign'],
+                Perl_pp_or => ['orassign'],
                );
 
 while (my ($func, $names) = splice @raw_alias, 0, 2) {