Re: grammar for 'constant' ?

2008-05-04 Thread Moritz Lenz
John M. Dlugosz wrote: The synopses are contradictary over the way 'constant' works. First it says that it is a declarator like 'my'. That's what STD.pm says: token scope_declarator:my { sym scoped {*} } token scope_declarator:our { sym scoped {*} } token scope_declarator:state

Re: grammar for 'constant' ?

2008-05-04 Thread John M. Dlugosz
Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote: Then in S12 it shows my constant ... and our constant ... that is, independant from the my or our declarator. I grep'ped STD.pm tentatively for other occurrences of 'constant', and couldn't find where that should be

grammar for 'constant' ?

2008-05-03 Thread John M. Dlugosz
The synopses are contradictary over the way 'constant' works. First it says that it is a declarator like 'my'. Then in S12 it shows my constant ... and our constant ... that is, independant from the my or our declarator. Assuming the second way is newer/better, what is the grammar for