Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Micro-optimization to desigilname.
  • Loading branch information
jnthn committed May 26, 2012
1 parent 5bec1f1 commit 1b72f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.pm
Expand Up @@ -1157,7 +1157,7 @@ grammar Perl6::Grammar is HLL::Grammar {

token desigilname {
[
| <?before '$' >
| <?[$]>
[ <?{ $*IN_DECL }> <.typed_panic: 'X::Syntax::Variable::IndirectDeclaration'> ]?
<variable>
| <?before <[\@\%\&]> <sigil>* \w > <.panic: "Invalid hard reference syntax">
Expand Down

0 comments on commit 1b72f38

Please sign in to comment.