Re: [perl #58424] Named regex, token and rule don't work outside of a grammar

2008-09-01 Thread Moritz Lenz
Patrick R. Michaud wrote: > On Thu, Aug 28, 2008 at 08:32:41AM -0700, Carl Mäsak wrote: >> r30590: >> $ ./perl6 -e 'regex a { b }; "b" ~~ a' >> too few arguments passed (0) - 2 params expected >> [...] >> >> I've also added tests for this in t/spec/S05-metasyntax/regex.t. >> >> (S05 is not entire

Re: [perl #58424] Named regex, token and rule don't work outside of a grammar

2008-08-29 Thread Carl Mäsak
Patrick (>), Carl (>>): >> r30590: >> $ ./perl6 -e 'regex a { b }; "b" ~~ a' >> too few arguments passed (0) - 2 params expected >> [...] >> >> I've also added tests for this in t/spec/S05-metasyntax/regex.t. >> >> (S05 is not entirely clear as to whether this should actually work. >> IMHO, there's

Re: [perl #58424] Named regex, token and rule don't work outside of a grammar

2008-08-29 Thread Patrick R. Michaud
On Thu, Aug 28, 2008 at 08:32:41AM -0700, Carl Mäsak wrote: > r30590: > $ ./perl6 -e 'regex a { b }; "b" ~~ a' > too few arguments passed (0) - 2 params expected > [...] > > I've also added tests for this in t/spec/S05-metasyntax/regex.t. > > (S05 is not entirely clear as to whether this should a

[perl #58424] Named regex, token and rule don't work outside of a grammar

2008-08-29 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58424] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58424 > r30590: $ ./perl6 -e 'regex a { b }; "b" ~~ a' too few arguments passed (0) - 2 params e