Browse files

Remove [$foo] infixed function form as per TimToady++'s recent spec a…

…nd std changes.
  • Loading branch information...
1 parent 7f550a2 commit 856e4947ae1a594852ccebd7513bac30a82a3db7 @colomon colomon committed Aug 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/STD.pm6
View
2 src/STD.pm6
@@ -3130,7 +3130,7 @@ grammar P6 is STD {
| [
| :dba('bracketed infix') '[' ~ ']' <infix=.infixish('[]')> { $O = $<infix><O>; $sym = $<infix><sym> }
[ <!before '='> { self.worry("Useless use of [] around infix op") unless $*IN_META; } ]?
- | :dba('infixed function') <?before '[' <[&\$]> <twigil>? [<alpha>|'('] > '[' ~ ']' <infix=.variable>
+ | :dba('infixed function') <?before '[&' <twigil>? [<alpha>|'('] > '[' ~ ']' <infix=.variable>
{ $O = $<infix><O> // %additive; $sym = $<infix>; }
| <infix=infix_circumfix_meta_operator> { $O = $<infix><O>; $sym = $<infix><sym>; }
| <infix=infix_prefix_meta_operator> { $O = $<infix><O>; $sym = $<infix><sym>; }

0 comments on commit 856e494

Please sign in to comment.