Skip to content

Commit

Permalink
prefix always requires term, give better message
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Mar 3, 2015
1 parent aa62fde commit abdd5cc
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 @@ -3720,7 +3720,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
:dba('prefix or term')
[
|| [
| <prefixish>+ <term>
| <prefixish>+ [ <term> || {} <.panic("Prefix " ~ $<prefixish>[-1].Str ~ " requires a term, but no valid term found")> ]
| <term>
]
|| <!{ $*QSIGIL }> <?before <infixish> {
Expand Down

0 comments on commit abdd5cc

Please sign in to comment.