summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-12-18 14:43:58 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-12-18 14:43:58 +0000
commit7b5d8bbce1bc254559797266031a88531cfece6b (patch)
tree499aba7e439f41ed3c81560919508efb404ade41 /pp.c
parentcddd4526476ba0ae3c81876684c5e7a648cb3265 (diff)
parent8218ea5d24f5de0a37393f19671aa5631c088be7 (diff)
downloadperl-7b5d8bbce1bc254559797266031a88531cfece6b.tar.gz
Integrate mainline
p4raw-id: //depot/perlio@13756
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index 9237a8b219..23bf1ffad2 100644
--- a/pp.c
+++ b/pp.c
@@ -15,6 +15,7 @@
#include "EXTERN.h"
#define PERL_IN_PP_C
#include "perl.h"
+#include "keywords.h"
/* variations on pp_null */
@@ -365,6 +366,8 @@ PP(pp_prototype)
I32 oa;
char str[ MAX_ARGS_OP * 2 + 2 ]; /* One ';', one '\0' */
+ if (code == -KEY_chop || code == -KEY_chomp)
+ goto set;
while (i < MAXO) { /* The slow way. */
if (strEQ(s + 6, PL_op_name[i])
|| strEQ(s + 6, PL_op_desc[i]))