Skip to content

Commit

Permalink
deconfuse shaped declarations from contextualizers
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Aug 29, 2015
1 parent 86dbc33 commit c3f975b
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 @@ -1970,7 +1970,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
| <special_variable>
| <sigil> $<index>=[\d+] [<?{ $*IN_DECL }> <.typed_panic: "X::Syntax::Variable::Numeric">]?
| <sigil> <?[<]> <postcircumfix> [<?{ $*IN_DECL }> <.typed_panic('X::Syntax::Variable::Match')>]?
| <?before <sigil> <?[ ( [ { ]>> <contextualizer>
| <?before <sigil> <?[ ( [ { ]>> <?{ !$*IN_DECL }> <contextualizer>
| $<sigil>=['$'] $<desigilname>=[<[/_!¢]>]
| {} <sigil> <!{ $*QSIGIL }> <?MARKER('baresigil')> # try last, to allow sublanguages to redefine sigils (like & in regex)
]
Expand Down

0 comments on commit c3f975b

Please sign in to comment.