Permalink
Browse files

Seems now we must provide $*OUTERPCKAGE ourselves

  • Loading branch information...
skids committed Mar 26, 2017
1 parent 70bd076 commit 2da99893499afb4156ca836aeeab7712fd7f680e
Showing with 2 additions and 0 deletions.
  1. +1 −0 lib/Slang/ABNF.pm
  2. +1 −0 lib/Slang/BNF.pm
View
@@ -10,6 +10,7 @@ sub EXPORT(|) {
}
role Slang::ABNF {
rule package_declarator:sym<abnf-grammar> {
+ :my $*OUTERPACKAGE := self.package;
<sym>
:my $*name;
:my %*rules;
View
@@ -10,6 +10,7 @@ sub EXPORT(|) {
}
role Slang::BNF {
rule package_declarator:sym<bnf-grammar> {
+ :my $*OUTERPACKAGE := self.package;
<sym>
:my $*name;
<longname> { $*name := lk($/,'longname').Str }

0 comments on commit 2da9989

Please sign in to comment.