Skip to content

Commit

Permalink
Better handle <...> and other special forms in regex_def. moritz++
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 31, 2012
1 parent 7300248 commit 9c63f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1863,7 +1863,7 @@ grammar Perl6::Grammar is HLL::Grammar {
<.newpad>
[ [ ':'?'(' <signature> ')'] | <trait> ]*
'{'[
| ['*'|'<...>'|'<*>'] <?{ $*MULTINESS eq 'proto' }> $<onlystar>={1}
| <?> ['*'|'<...>'|'<*>'] <?{ $*MULTINESS eq 'proto' }> $<onlystar>={1}
|<p6regex=.LANG('Regex','nibbler')>]'}'<?ENDSTMT>
{ $*CURPAD := $*W.pop_lexpad() }
] || <.malformed('regex')>
Expand Down

0 comments on commit 9c63f57

Please sign in to comment.