Skip to content

Commit

Permalink
Fix RT #76644, overeager parsing of "state" and "supersede" declarators.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 22, 2010
1 parent 82b1b78 commit 31d41ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Grammar.pm
Expand Up @@ -899,10 +899,10 @@ token scope_declarator:sym<has> { <sym> <scoped('has')> }
token scope_declarator:sym<augment> { <sym> <scoped('augment')> }
token scope_declarator:sym<anon> { <sym> <scoped('anon')> }
token scope_declarator:sym<supersede> {
<sym> <.panic: '"supersede" not yet implemented'>
<sym> <scoped('supersede')> <.panic: '"supersede" not yet implemented'>
}
token scope_declarator:sym<state> {
<sym> <.panic: '"state" not yet implemented'>
<sym> <scoped('state')> <.panic: '"state" not yet implemented'>
}

rule scoped($*SCOPE) {
Expand Down

0 comments on commit 31d41ed

Please sign in to comment.