diff options
author | Vincent Pit <perl@profvince.com> | 2009-05-09 14:19:19 +0200 |
---|---|---|
committer | Vincent Pit <perl@profvince.com> | 2009-05-11 19:07:05 +0200 |
commit | d5e98372e6efc414e818f1ed2d33156eb6ca6200 (patch) | |
tree | 3a111d6bfec225e3cdb5ffc02b8989fea5f28523 /op.c | |
parent | 4477f4efa618ad1dc98479d6c1631bb62963bc70 (diff) | |
download | perl-d5e98372e6efc414e818f1ed2d33156eb6ca6200.tar.gz |
Allow typed arrays and hashes
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -399,14 +399,6 @@ Perl_allocmy(pTHX_ const char *const name) /* check for duplicate declaration */ pad_check_dup(name, is_our, (PL_curstash ? PL_curstash : PL_defstash)); - if (PL_parser->in_my_stash && *name != '$') { - yyerror(Perl_form(aTHX_ - "Can't declare class for non-scalar %s in \"%s\"", - name, - is_our ? "our" - : PL_parser->in_my == KEY_state ? "state" : "my")); - } - /* allocate a spare slot and store the name in that slot */ off = pad_add_name(name, |