This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c: Stop using len to indicate trailing ::
authorFather Chrysostomos <sprout@cpan.org>
Wed, 3 Sep 2014 19:59:15 +0000 (12:59 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 4 Sep 2014 02:07:53 +0000 (19:07 -0700)
commite5debd1111585b5c96f1f1b3d271e88e0ab68134
tree5e4b0f05050aadfe3344019d3f3900ca66e7bb5a
parente093953796c2b52df4a70fb9d48a4cad66bc6cc1
toke.c: Stop using len to indicate trailing ::

This variable stores the length of the word we are parsing.  But at
one point it starts being used as a boolean to indicate that we have a
bareword ending in two colons.  So if are looking up are bareword that
does not end in ::, we have to call strlen() to scan the string and
determine the length.
toke.c