Permalink
Browse files

fix copy&past-o from STD.pm6

  • Loading branch information...
1 parent b18ea07 commit c076f5d3ce9069600a700e32c2c0ddedee47ac2f @moritz moritz committed Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.pm
View
@@ -1464,7 +1464,7 @@ grammar Perl6::Grammar is HLL::Grammar {
# STD.pm6 uses <defterm> here, but we need different
# action methods
| '\\' <identifier> <.ws>
- [ <term_init=initializer> || <.sorry("Term definition requires an initializer")> ]
+ [ <term_init=initializer> || <.panic("Term definition requires an initializer")> ]
| <variable_declarator>
[
|| <?{ $*SCOPE eq 'has' }> <.newpad> <initializer>? { $*ATTR_INIT_BLOCK := $*W.pop_lexpad() }

0 comments on commit c076f5d

Please sign in to comment.