Permalink
Browse files

Move a sorry back to a panic for now.

Follow-up error actually seems to be worse, and STD spits internal
errors on a program just containing "@" anyway.
  • Loading branch information...
jnthn committed Dec 16, 2012
1 parent 62a696f commit a03049eece1c6b85d52db79784984b494ed01045
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.pm
View
@@ -1576,7 +1576,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
| <sigil> <?[<[]> [ <?{ $*IN_DECL }> <.typed_panic('X::Syntax::Variable::Match')>]? <postcircumfix>
| $<sigil>=['$'] $<desigilname>=[<[/_!]>]
| <sigil> <?{ $*IN_DECL }>
- | <!{ $*QSIGIL }> <.typed_sorry: 'X::Syntax::SigilWithoutName'>
+ | <!{ $*QSIGIL }> <.typed_panic: 'X::Syntax::SigilWithoutName'>
]
]
[ <?{ $<twigil> && $<twigil>[0] eq '.' }>

0 comments on commit a03049e

Please sign in to comment.