Skip to content

Commit

Permalink
be more specific on malformed/missing postfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Mar 26, 2015
1 parent 663a22b commit 0730963
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -3851,7 +3851,12 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
| <OPER=postcircumfix>
| <OPER=dotty>
| <OPER=privop>
| <?{ $<postfix_prefix_meta_operator> && !$*QSIGIL }> <.missing: "postfix">
| <?{ $<postfix_prefix_meta_operator> && !$*QSIGIL }>
[
|| <?space> <.missing: "postfix">
|| <?alpha> <.missing: "dot on method call">
|| <.malformed: "postfix">
]
]
{ $*LEFTSIGIL := '@'; }
}
Expand Down

0 comments on commit 0730963

Please sign in to comment.