This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix several differences in the parsing of $.. and ${...}
authorBrian Fraser <fraserbn@gmail.com>
Tue, 5 Mar 2013 20:46:52 +0000 (17:46 -0300)
committerKarl Williamson <public@khwilliamson.com>
Wed, 6 Mar 2013 22:02:40 +0000 (15:02 -0700)
commit07f7264624e0307ed32e3b140ef2a0ea9d86a07f
tree1831308249c8de58518401fc2ee617154c3d84cf
parent2439e03355dec26654acf614900c077433bc27e0
Fix several differences in the parsing of $.. and ${...}

Namely:
    * The first character in ${...} used to have no restrictions
    * ${foo:bar} used to be legal
    * ${foo::bar} worked, but ${foo'bar} didn't

And possibly other subtle, so far undiscovered bugs. This was
resolved by simply using the same code for both things.

Note that this commit is not entirely useful on its own; While
tests pass, it requires changes from the following commit to work
entirely.
MANIFEST
embed.fnc
embed.h
pod/perldelta.pod
proto.h
t/uni/labels.t
t/uni/variables.t [new file with mode: 0644]
toke.c