summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-26 23:50:06 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-26 23:58:03 -0700
commitf650fa729f03aabdf12058228971129d911b4aa1 (patch)
treec3f5c89c23a685ae9e36d2b15dfdc41782ec80ce /gv.c
parent014333460b4235140c1e4ad346b2581af7ff6592 (diff)
downloadperl-f650fa729f03aabdf12058228971129d911b4aa1.tar.gz
&CORE::reset()
This commit allows &CORE::reset to be called through references and via ampersand syntax. pp_reset is modified to take into account the nulls pushed on to the stack in pp_coreargs, which happens because pp_coreargs has no other way to tell reset how many arguments it’s actually getting. See commit 0163043a for details.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index cbbf326136..b9516d8a39 100644
--- a/gv.c
+++ b/gv.c
@@ -1357,7 +1357,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
case KEY_keys:
case KEY_lstat:
case KEY_pop:
- case KEY_push: case KEY_reset:
+ case KEY_push:
case KEY_select: case KEY_send:
case KEY_setpgrp: case KEY_shift: case KEY_sleep:
case KEY_splice: