summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-09-19 17:40:25 +0100
committerDavid Mitchell <davem@iabyn.com>2014-09-19 17:40:25 +0100
commitb1c05ba5b06e0d1b9fedf625f1c647b7ea832ed0 (patch)
treed59c3a96a59ab169766eb7c87bf55301544df555 /pp_ctl.c
parentdacd2ca73583513edf8eeb5ab9a877e84de91d15 (diff)
downloadperl-b1c05ba5b06e0d1b9fedf625f1c647b7ea832ed0.tar.gz
comment pp_foo aliases in pp*.c
Where pp_foo() also handles OP_BAR, add a comment above the function mentioning that it also does pp_bar. This means that "grep pp_bar pp*.c" quickly locates the file/function that handles OP_BAR.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 5036eda4db..7f60ccec15 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2743,7 +2743,10 @@ S_dofindlabel(pTHX_ OP *o, const char *label, STRLEN len, U32 flags, OP **opstac
return 0;
}
-PP(pp_goto) /* also pp_dump */
+
+/* also used for: pp_dump() */
+
+PP(pp_goto)
{
dVAR; dSP;
OP *retop = NULL;
@@ -3654,6 +3657,9 @@ S_path_is_searchable(const char *name)
return TRUE;
}
+
+/* also used for: pp_dofile() */
+
PP(pp_require)
{
dSP;