Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better handle <...> and other special forms in regex_def. moritz++

  • Loading branch information...
commit 9c63f57cecaf3f449639f156596014e95f551979 1 parent 7300248
@pmichaud pmichaud authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Perl6/Grammar.pm
View
2  src/Perl6/Grammar.pm
@@ -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')>
Please sign in to comment.
Something went wrong with that request. Please try again.