Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed pattern of impossible sub names
  • Loading branch information
FROGGS committed May 18, 2013
1 parent eb379b1 commit 2644cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Perl5/Grammar.nqp
Expand Up @@ -3730,7 +3730,7 @@ grammar Perl5::Grammar is HLL::Grammar does STD5 {
# }
token term:sym<identifier> {
:my $name;
<identifier> <!{ ~$<identifier> ~~ /^ 'm' || 'q' || 'qq' || 'qr' || 'qw' $/; }>
<identifier> <!{ ~$<identifier> ~~ /^ [ 'm' || 'q' || 'qq' || 'qr' || 'qw' ] $/; }>
{ $name := ~$<identifier>; }
[\h+ <?[(]>]?
<args( $*W.is_type($name) )>
Expand Down

0 comments on commit 2644cc5

Please sign in to comment.