Permalink
Browse files

Allow whitespace between named parameter and closing parenthesis for …

…multi-name argument parsing

fixes RT #123956

Conflicts:
	src/Perl6/Grammar.nqp
  • Loading branch information...
usev6 authored and Mouq committed Mar 13, 2015
1 parent 400a7e3 commit 7a9a4cadeb3704b659505bc5c12c3e115797a4d4
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Perl6/Grammar.nqp
View
@@ -2966,8 +2966,8 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
:dba('named parameter')
':'
[
| <name=.identifier> '(' <.ws>
[ <named_param> | <param_var> <.ws> ]
| <name=.identifier> '('
<.ws> [ <named_param> | <param_var> ] <.ws>
[ ')' || <.panic: 'Unable to parse named parameter; couldn\'t find right parenthesis'> ]
| <param_var>
]

0 comments on commit 7a9a4ca

Please sign in to comment.