Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Support :temp/:let declarators in regexes.
  • Loading branch information
jnthn committed Sep 17, 2014
1 parent 5753dcc commit 8ae74d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -4553,7 +4553,7 @@ grammar Perl6::RegexGrammar is QRegex::P6Regex::Grammar does STD {
token rxstopper { <stopper> }

token metachar:sym<:my> {
':' <?before 'my'|'constant'|'state'|'our'> <statement=.LANG('MAIN', 'statement')>
':' <?before 'my'|'constant'|'state'|'our'|'temp'|'let'> <statement=.LANG('MAIN', 'statement')>
<.LANG('MAIN', 'eat_terminator')>
}

Expand Down

0 comments on commit 8ae74d2

Please sign in to comment.