Permalink
Browse files

Significant non-whitespace was significant. Fixes accidental change t…

…o rule semantics when :P5 was introduced.
  • Loading branch information...
1 parent cfae063 commit 0e6dd2ed0707566dc38c33142187f69fa8d2de66 @jnthn jnthn committed Sep 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.pm
View
@@ -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')>
] }

0 comments on commit 0e6dd2e

Please sign in to comment.