Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add prefix:sym<|> to the grammar.

  • Loading branch information...
commit 9c17cb667a992f54bae2f7999f526da3def1af31 1 parent 2a0400a
@colomon colomon authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/Perl6/Grammar.pm
View
3  src/Perl6/Grammar.pm
@@ -1027,7 +1027,8 @@ token prefix:sym<-> { <sym> <![>]> <O('%symbolic_unary')> }
token prefix:sym<?> { <!before '???'> <sym> <O('%symbolic_unary')> }
token prefix:sym<!> { <!before '!!!'> <sym> <O('%symbolic_unary, :pirop<isfalse>')> }
token prefix:sym<+^> { <sym> <O('%symbolic_unary, :pirop<bnot>')> }
-token prefix:sym<^> { <sym> <O('%symbolic_unary')> }
+token prefix:sym<^> { <sym> <O('%symbolic_unary')> }
+token prefix:sym<|> { <sym> <O('%symbolic_unary')> }
token infix:sym<*> { <sym> <O('%multiplicative')> }
token infix:sym</> { <sym> <O('%multiplicative')> }
Please sign in to comment.
Something went wrong with that request. Please try again.