diff options
author | David Mitchell <davem@iabyn.com> | 2014-09-19 17:40:25 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-09-19 17:40:25 +0100 |
commit | b1c05ba5b06e0d1b9fedf625f1c647b7ea832ed0 (patch) | |
tree | d59c3a96a59ab169766eb7c87bf55301544df555 /pp_ctl.c | |
parent | dacd2ca73583513edf8eeb5ab9a877e84de91d15 (diff) | |
download | perl-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |