Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for RT #128306
  • Loading branch information
MasterDuke17 committed Jun 12, 2016
1 parent 51e1a27 commit 054a54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -1789,7 +1789,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
$/.CURSOR.typed_panic('X::Syntax::NegatedPair', key => ~$<identifier>) } ]?
{ $*key := $<identifier>.Str; $*value := 0; }
| $<num> = [\d+] <identifier> [ <?before <[ \[ \( \< \{ ]>> {} <.sorry("Extra argument not allowed; pair already has argument of " ~ $<num>.Str)> <.circumfix> ]?
{ $*key := $<identifier>.Str; $*value := +$<num>; }
{ $*key := $<identifier>.Str; $*value := nqp::radix(10, $<num>, 0, 0)[0]; }
| <identifier>
{ $*key := $<identifier>.Str; }
[
Expand Down

0 comments on commit 054a54a

Please sign in to comment.