Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

allow typed \ and | in signatures without a name

  • Loading branch information...
commit 86bc70382811cd10f2e18d4758d1ebf24bc6ac9d 1 parent dfff492
@moritz moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Perl6/Grammar.pm
View
2  src/Perl6/Grammar.pm
@@ -1751,7 +1751,7 @@ grammar Perl6::Grammar is HLL::Grammar {
| $<quant>=['\\'|'|'] <param_var> {
pir::getstderr__P().print("Obsolete use of | or \\ with sigil on param { $<param_var> }\n")
}
- | $<quant>=['\\'|'|'] <defterm>
+ | $<quant>=['\\'|'|'] <defterm>?
| [ <param_var> | <named_param> ] $<quant>=['?'|'!'|<?>]
| <?>
Please sign in to comment.
Something went wrong with that request. Please try again.