Skip to content

Commit

Permalink
heuristic for reduce metaop: don't get foiled by multiple [
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Aug 24, 2020
1 parent 92dc00c commit 86bac5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -3874,7 +3874,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
:my $*IN_REDUCE := 1;
:my $op;
<?before '['\S+']'>
<!before '[' <.[ - + ? ~ ^ ]> <.[ \w $ @ ]> > # disallow accidental prefix before termish thing
<!before '['+ <.[ - + ? ~ ^ ]> <.[ \w $ @ ]> > # disallow accidental prefix before termish thing
'['
[
Expand Down

0 comments on commit 86bac5a

Please sign in to comment.