Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bleadperl breaks CPAN: Template::Plugin::YAML::Encode 0.02

0 views
Skip to first unread message

Andreas J. Koenig

unread,
Dec 19, 2009, 5:35:47 PM12/19/09
to The Perl5 Porters Mailing List, XAI...@cpan.org
The distribution: XAICRON/Template-Plugin-YAML-Encode-0.02.tar.gz

Fails since: v5.11.1-217-gf0e67a1

with parsing errors as in:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/12/msg6521115.html

Header of the commit:

Author: Zefram <zef...@fysh.org>
Date: Sun Nov 15 14:25:50 2009 +0100

lexer API

Attached is a patch that adds a public API for the lowest layers of
lexing. This is meant to provide a solid foundation for the parsing that
Devel::Declare and similar modules do, and it complements the pluggable
keyword mechanism. The API consists of some existing variables combined
with some new functions, all marked as experimental (which making them
public certainly is).

There is currently a problem with rt.cpan.org so that I could not open a
ticket over there.

HTH,
--
andreas

Nicholas Clark

unread,
Dec 29, 2009, 11:31:22 AM12/29/09
to Andreas J. Koenig, jesse, Zefram, The Perl5 Porters Mailing List, XAI...@cpan.org

Thanks for finding this.

This isn't an rt.perl.org ticket yet, is it?
(Hence it can't be added as a 5.12.0 blocker?)


The syntax that has inadvertently become illegal can be reduced to:

$ cat L
s//
{
Perl => 'Rules',
}->{$1};
/e;

__END__
$ ./perl L
syntax error at L line 3, near "}->"
Execution of L aborted due to compilation errors.


A variant of the test case is also considered illegal:

$ cat L1
s//
{
#
}->{$1};
/e;

__END__
$ ./perl L1
syntax error at L1 line 3, near "#
}->"
Execution of L1 aborted due to compilation errors.


Nicholas Clark

Andreas J. Koenig

unread,
Dec 30, 2009, 8:25:59 AM12/30/09
to per...@perl.org, Zefram, The Perl5 Porters Mailing List, XAI...@cpan.org, jesse
We have all the ingredients for a perlbug here, so I'm sending this to
perlbug and hope it recognizes what a rich piece of bugfood we have.

(We do not have all the ingredients for a ticket to rt.cpan.org because
the cpan distro that triggered the discovery of the bug is not indexed
on cpan due to broken directory permissions. Since we're definitely
dealing with a perl bug here we can suppress the urge to post there.)

> Thanks for finding this.


> Nicholas Clark


--
andreas

Andreas J. Koenig via RT

unread,
Dec 30, 2009, 8:28:45 AM12/30/09
to bugs-bi...@netlabs.develooper.com
# New Ticket Created by (Andreas J. Koenig)
# Please include the string: [perl #71748]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71748 >

Zefram

unread,
Jan 5, 2010, 4:47:41 PM1/5/10
to perl5-...@perl.org
>s//
>{
>#
>}->{$1};
>/e;

Unsurprisingly, the nature of the bug is that I accidentally changed
the logic of one of the several types of space skipping. Fix attached.

-zefram

d0

Rafael Garcia-Suarez

unread,
Jan 5, 2010, 5:08:06 PM1/5/10
to Zefram, perl5-...@perl.org
2010/1/5 Zefram <zef...@fysh.org>:

Thanks, applied as f09989092a6586d2bb4173c4c08882afef55b70f.

0 new messages