Skip to content

Commit

Permalink
Name the <sym> token when parsing a ternary operator.
Browse files Browse the repository at this point in the history
Some functions such as 'can_meta' might need this information to print
more informative error messages.

RT#129080
  • Loading branch information
LemonBoy committed Sep 7, 2016
1 parent f0bb581 commit 377d236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -4260,7 +4260,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {

token infix:sym<?? !!> {
:my $*GOAL := '!!';
'??'
$<sym>='??'
<.ws>
<EXPR('i=')>
[ '!!'
Expand Down

0 comments on commit 377d236

Please sign in to comment.