Skip Menu |

This queue is for tickets about the CSS CPAN distribution.

Report information
The Basics
Id: 74640
Status: open
Priority: 0/
Queue: CSS

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: jtbraun [...] CPAN.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.09
Fixed in: (no value)



CC: jtbraun [...] CPAN.org
Subject: Fails with Parse::RecDescent >= 1.966_002
Subject: Fails with Parse::RecDescent >= 1.966_002 [rt.cpan.org #74640]
Date: Tue, 13 Mar 2012 00:26:27 -0500
To: bug-CSS [...] rt.cpan.org
From: Ian Barton <ian [...] bartonia.net>
Perl verson: 5.12.3 Operating System: Mac OS X 10.7.3 (Lion) Darwin 11.3.0 Darwin Kernel Version 11.3.0 x86_64 It appears that the maintainers of Parse::RecDescent did a Very Bad Thing and changed the API by adding a new argument to _parserepeat() in the middle of existing arguments (rather than the end, which would have been much more Perlish). The attached patch for CSS/Parse/CompiledGrammar.pm appears to resolve the issue.
Download CompiledGrammar.pm-patch
application/octet-stream 17.7k

Message body not shown because it is not plain text.

I made the change to Parse::RecDescent. I changed an internal API, but didn't realize that it would affect all of the precompiled parsers out there, nor did I realize just how many precompiled parsers existed. I just released 1.967_008 of Parse::RecDescent to fix the issue, please do not patch your precompiled grammars. Here's the git commit with a more in-depth explanation of the changes: https://rt.cpan.org/Ticket/Display.html?id=74593&results=37cbf6e9455f207d20eab8131971d55b