This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In perly.y, change PL_parser to parser
authorFather Chrysostomos <sprout@cpan.org>
Fri, 22 Aug 2014 13:18:01 +0000 (06:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 25 Aug 2014 02:02:58 +0000 (19:02 -0700)
commit624fa8bd47bc7ddc629a5cfec82069ff6af2649a
treeb7e05253be1facf943d58558d2426d6db007e25a
parent5c86b6dfc4a5c74dad9f83a08d08b4536632cda1
In perly.y, change PL_parser to parser

All these code snippets are embedded inside a function
(perly.c:yyparse) that puts the current value of PL_parser in a local
variable named parser.  So the two are equivalent, but the latter
only has to access a local variable.

Before:

$ ls -ld perly.o
-rw-r--r--  1 sprout  staff  94748 Aug 22 06:12 perly.o

After:

$ ls -ld perly.o
-rw-r--r--  1 sprout  staff  94340 Aug 22 06:15 perly.o
perly.act
perly.h
perly.tab
perly.y