This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
function to parse Perl code block
authorZefram <zefram@fysh.org>
Fri, 15 Oct 2010 12:11:54 +0000 (13:11 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 21 Oct 2010 12:54:01 +0000 (05:54 -0700)
commite53d8f768a2bcb331fe11ed5282d228a938ce161
tree7a753652885308a61615a5e1c4caa4b7a67ca4b3
parent9eb5c532bf567fdd066254fcaacf4a66722714c5
function to parse Perl code block

New API function parse_block() parses a code block, including surrounding
braces.  The block is a lexical scope, but not inherently a dynamic scope.
14 files changed:
MANIFEST
embed.fnc
embed.h
ext/XS-APItest/APItest.pm
ext/XS-APItest/APItest.xs
ext/XS-APItest/t/blockasexpr.t [new file with mode: 0644]
ext/XS-APItest/t/loopblock.t [new file with mode: 0644]
global.sym
perly.act
perly.h
perly.tab
perly.y
proto.h
toke.c