This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123737] delay reporting a missing operator for arrays
authorTony Cook <tony@develop-help.com>
Sun, 10 Jan 2016 23:42:31 +0000 (10:42 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 10 Jan 2016 23:42:31 +0000 (10:42 +1100)
commita7162bf74f38a7ede2efc930a958560392ce092f
tree1c7cefdc622103372d04c095371c272c0f1ca903
parentc7052e96fdd73cf9b2fc25cecf57fa297b410caf
[perl #123737] delay reporting a missing operator for arrays

Previously it was reported at the beginning of the '@' case, without
even skipping the @ symbol.

Make the code more similar to the scalar case and try to parse an
identifier first.
t/lib/croak/toke
toke.c