From 707b805eb119df89ce8192e0415768c10dc19501 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 27 Feb 2013 13:52:01 +0100 Subject: [PATCH] Note what incrementing the op_type actually does This comment is intended to improve the greppability of the code. --- op.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/op.c b/op.c index 91b9d5d..2b83188 100644 --- a/op.c +++ b/op.c @@ -8269,6 +8269,8 @@ Perl_ck_spair(pTHX_ OP *o) #endif kUNOP->op_first = newop; } + /* transforms OP_REFGEN into OP_SREFGEN, OP_CHOP into OP_SCHOP, + * and OP_CHOMP into OP_SCHOMP */ o->op_ppaddr = PL_ppaddr[++o->op_type]; return ck_fun(o); } -- 1.8.3.1