Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove hack that kept (|)= & co from working.
It's not clear why these <!before ...>s were there; perhaps they were
to work around a historical bug. Removing them causes no new spectest
fails, and makes (|)=, (&)= and so forth work.
  • Loading branch information
jnthn committed Jul 9, 2014
1 parent 57d8f39 commit 178c8e7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/Perl6/Grammar.nqp
Expand Up @@ -3607,22 +3607,22 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
token infix:sym<~> { <sym> <O('%concatenation')> }
token infix:sym<.> { <sym> <[\]\)\},:\s\$"']> <.obs('. to concatenate strings', '~')> }

token infix:sym<&> { <sym> <O('%junctive_and')> }
token infix:sym<(&)> { <!before <sym> <infixish> > <sym> <O('%junctive_and')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_and')> }
token infix:sym<(.)> { <!before <sym> <infixish> > <sym> <O('%junctive_and')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_and')> }
token infix:sym<&> { <sym> <O('%junctive_and')> }
token infix:sym<(&)> { <sym> <O('%junctive_and')> }
token infix:sym«» { <sym> <O('%junctive_and')> }
token infix:sym<(.)> { <sym> <O('%junctive_and')> }
token infix:sym«» { <sym> <O('%junctive_and')> }

token infix:sym<|> { <sym> <O('%junctive_or')> }
token infix:sym<^> { <sym> <O('%junctive_or')> }
token infix:sym<(|)> { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym<(^)> { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym<(+)> { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym<(-)> { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym«» { <!before <sym> <infixish> > <sym> <O('%junctive_or')> }
token infix:sym<(|)> { <sym> <O('%junctive_or')> }
token infix:sym«» { <sym> <O('%junctive_or')> }
token infix:sym<(^)> { <sym> <O('%junctive_or')> }
token infix:sym«» { <sym> <O('%junctive_or')> }
token infix:sym<(+)> { <sym> <O('%junctive_or')> }
token infix:sym«» { <sym> <O('%junctive_or')> }
token infix:sym<(-)> { <sym> <O('%junctive_or')> }
token infix:sym«» { <sym> <O('%junctive_or')> }

token prefix:sym<let> { <sym> \s+ <!before '=>'> <O('%named_unary')> { $*W.give_cur_block_let($/) } }
token prefix:sym<temp> { <sym> \s+ <!before '=>'> <O('%named_unary')> { $*W.give_cur_block_temp($/) } }
Expand Down

0 comments on commit 178c8e7

Please sign in to comment.