[perl #61338] Grammar rules aren't inherited in Rakduo

2008-12-15 Thread Patrick R. Michaud via RT
If the rule is called correctly it appears to work fine: $ cat x grammar Foo { token foo { 'foo' } }; grammar Bar is Foo { token bar { foo | 'bar' } }; if 'foo' ~~ /Bar::bar/ { 'matched'.say; } $ ./parrot perl6.pbc x matched $ Closing ticket. Pm

[perl #61338] Grammar rules aren't inherited in Rakduo

2008-12-14 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61338] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61338 peters rakudo: grammar Foo { token foo { 'foo' } }; grammar Bar is Foo { token bar {