[perl #51850] [TODO] [PGE] recognize the <a b c> form of alternation

Will Coleda via RT parrotbug-followup at parrotcode.org
Thu Sep 17 15:07:42 UTC 2009


On Wed Mar 19 07:53:15 2008, pmichaud wrote:
> On Tue, Mar 18, 2008 at 08:21:09AM -0700, Stephane Payrard wrote:
> > 
> > A  <?before> rule with a space between the '<' and the '?' compiles
> > but fails at execution
> > with the unhelpful message :
> > Unable to find regex  ''
> > Null PMC access in invoke()
> 
> I agree that this is not a useful error message.  However, when
> PGE is corrected to follow the specification the regex
> 
>   < ?before foo>
> 
> would be identical to
> 
>   '?before' | 'foo'
> 
> and no error message would be generated at all.  
> 
> (PGE hasn't been updated to recognize the < a b c > form of
> alternation.)
> 
> Pm
> 

Now tracking at https://trac.parrot.org/parrot/ticket/1017

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list