Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add exception for token blorst
This will make "PRE ;" not die with a dubious error message.
  • Loading branch information
FROGGS committed Apr 10, 2013
1 parent 7776447 commit 460c2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1298,7 +1298,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
}

token blorst {
\s <.ws> [ <?[{]> <block> | <statement> ]
\s <.ws> [ <?[{]> <block> | <![;]> <statement> || <.missing: 'block or statement'> ]
}

## Statement modifiers
Expand Down

0 comments on commit 460c2ad

Please sign in to comment.