Permalink
Browse files

Don't break on has declarations.

  • Loading branch information...
jnthn committed Aug 15, 2012
1 parent 4800f48 commit d5fd0dd6323fd1c18893f400e8f8774b674b53cc
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/perl6-debug.nqp
View
@@ -63,6 +63,10 @@ class Perl6::HookActions is Perl6::Actions {
$accept := 0;
last;
}
+ if $_.key eq 'scope_declarator' && $_.value<sym> eq 'has' {
+ $accept := 0;
+ last;
+ }
}
$accept
}

0 comments on commit d5fd0dd

Please sign in to comment.