Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ensure that regex compiler sees the name of the regex. Fixes use of <…
…sym> in protoregexes, and protoregex.t now passes all but one test (which seems to be unrelated to protoregexes themselves).
  • Loading branch information
jnthn committed Nov 16, 2011
1 parent a8b2873 commit e41953a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -1641,6 +1641,7 @@ grammar Perl6::Grammar is HLL::Grammar {
[
{ $*IN_DECL := '' }
<deflongname>?
{ if $<deflongname> { %*RX<name> := $<deflongname>[0].Str } }
<.newpad>
[ [ ':'?'(' <signature> ')'] | <trait> ]*
'{'[
Expand Down

0 comments on commit e41953a

Please sign in to comment.