Skip to content

Commit

Permalink
Parse a & a as a conjunction, not concat
Browse files Browse the repository at this point in the history
Needed to fix #2901
jnthn++ for the actual fix
  • Loading branch information
Altai-man committed May 18, 2019
1 parent 7a7a23d commit f18af94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -5582,7 +5582,7 @@ grammar Perl6::RegexGrammar is QRegex::P6Regex::Grammar does STD does MatchPacka
}
token metachar:sym<rakvar> {
<?before <.sigil> $<twigil>=[<.alpha> | \W<.alpha> | '(']>
<?before <.sigil> $<twigil>=[<.alpha> | <+[\W]-[\s]><.alpha> | '(']>
<!before <.sigil> <.rxstopper> >
<var=.LANG('MAIN', 'variable')>
[
Expand Down

0 comments on commit f18af94

Please sign in to comment.