Skip to content

Commit

Permalink
Significant non-whitespace was significant. Fixes accidental change t…
Browse files Browse the repository at this point in the history
…o rule semantics when :P5 was introduced.
  • Loading branch information
jnthn committed Sep 1, 2012
1 parent cfae063 commit 0e6dd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1906,7 +1906,7 @@ grammar Perl6::Grammar is HLL::Grammar {
[ [ ':'?'(' <signature> ')'] | <trait> ]*
'{'[
| ['*'|'<...>'|'<*>'] <?{ $*MULTINESS eq 'proto' }> $<onlystar>={1}
| <p6regex=.LANG(%*RX<P5> ?? 'P5Regex' !! 'Regex','nibbler')>]'}'<?ENDSTMT>
|<p6regex=.LANG(%*RX<P5> ?? 'P5Regex' !! 'Regex','nibbler')>]'}'<?ENDSTMT>
{ $*CURPAD := $*W.pop_lexpad() }
] || <.malformed('regex')>
] }
Expand Down

0 comments on commit 0e6dd2e

Please sign in to comment.