diff options
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -407,7 +407,8 @@ Perl_allocmy(pTHX_ const char *const name, const STRLEN len, const U32 flags) } /* check for duplicate declaration */ - pad_check_dup(name, is_our, (PL_curstash ? PL_curstash : PL_defstash)); + pad_check_dup(name, len, is_our ? pad_add_OUR : 0, + (PL_curstash ? PL_curstash : PL_defstash)); /* allocate a spare slot and store the name in that slot */ |