diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-06-25 00:39:57 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-06-25 00:39:57 -0500 |
commit | 8b8c1fb9779eab465a6534a30b7fc39eb32855b7 (patch) | |
tree | 37a1dde60edea9ebb3765bfbe715c63de217253a /op.c | |
parent | 722672602582e96e420517be5b2757afb60fc1b2 (diff) | |
download | perl-8b8c1fb9779eab465a6534a30b7fc39eb32855b7.tar.gz |
allow "my ()" [perl #113554]
it looks like this was an unrelated bugfix during development of mad,
but which was merged into core with #ifdef PERL_MAD just because it was
a change from the existing perl code... i don't see any reason why this
should have been ifdef'd out to begin with
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2472,11 +2472,7 @@ S_my_kid(pTHX_ OP *o, OP *attrs, OP **imopsp) for (kid = cLISTOPo->op_first; kid; kid = kid->op_sibling) my_kid(kid, attrs, imopsp); return o; - } else if (type == OP_UNDEF -#ifdef PERL_MAD - || type == OP_STUB -#endif - ) { + } else if (type == OP_UNDEF || type == OP_STUB) { return o; } else if (type == OP_RV2SV || /* "our" declaration */ type == OP_RV2AV || |