Re: Bug in 1.80 Parser?
[email protected] (Damian Conway)
| Newsgroups | perl.recdescent |
|---|---|
| Message-ID | <[email protected]> |
That was a genuine bug (but in Text::Balanced, not Parse::RecDescent).
I've fixed it now, but the patch is to change appropriate test
in _match_codeblock:
# NEED TO COVER MANY MORE CASES HERE!!!
if ($$textref =~ m#\G\s*( [-+*x/%^&|.]=?
| [!=]~
| =(?!>)
| (\*\*|&&|\|\||<<|>>)=?
| split|grep|map|return
)#gcx)
{
$patvalid = 1;
next;
}
Thanks, Ken!
Damian
PS: No, it wasn't a test.
PPS: But you certainly passed ;-)