This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
toke.c:yylex:KEY_sub can use PL_tokenbuf to begin with
authorFather Chrysostomos <sprout@cpan.org>
Wed, 4 Jul 2012 21:09:46 +0000 (14:09 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Sep 2012 05:44:55 +0000 (22:44 -0700)
commit24b6ef70a86a5d0e357194d0de0d4698aa6f7197
tree862c613b13fdf0a97c7726e42e4dbf70cccce93e
parent4210d3f17cf9d854c0cbf0e1afb06e737174f8ea
toke.c:yylex:KEY_sub can use PL_tokenbuf to begin with

There is no need to allocate a separate ‘tmpbuf’ and then copy it into
PL_tokenbuf afterwards.
toke.c