Skip to content

Commit

Permalink
Merge pull request #2225 from ribbon-otter/issue2094
Browse files Browse the repository at this point in the history
Allow prefix calls with .:< ... > on integer literals
  • Loading branch information
lizmat committed Sep 2, 2018
2 parents 39db408 + 1835f28 commit 6a6b0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -3688,7 +3688,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
]
| <VALUE=decint>
]
<!!before ['.' <?before \s | ',' | '=' | ':' | <.terminator> | $ > <.typed_sorry: 'X::Syntax::Number::IllegalDecimal'>]? >
<!!before ['.' <?before \s | ',' | '=' | ':' <!before <coloncircumfix <OPER=prefix> > > | <.terminator> | $ > <.typed_sorry: 'X::Syntax::Number::IllegalDecimal'>]? >
[ <?before '_' '_'+\d> <.sorry: "Only isolated underscores are allowed inside numbers"> ]?
}
Expand Down

0 comments on commit 6a6b0af

Please sign in to comment.