Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix package compilation up a bit.
  • Loading branch information
jnthn committed May 23, 2011
1 parent 0f60ad2 commit 3eae147
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Perl6/Actions.pm
Expand Up @@ -872,6 +872,7 @@ class Perl6::Actions is HLL::Actions {
method package_declarator:sym<grammar>($/) { make $<package_def>.ast; }
method package_declarator:sym<role>($/) { make $<package_def>.ast; }
method package_declarator:sym<knowhow>($/) { make $<package_def>.ast; }
method package_declarator:sym<native>($/) { make $<package_def>.ast; }

method package_declarator:sym<trusts>($/) {
$/.CURSOR.panic("trusts not yet implemented");
Expand Down Expand Up @@ -914,6 +915,10 @@ class Perl6::Actions is HLL::Actions {

# Compose.
$*ST.pkg_compose($*PACKAGE);

make PAST::Stmts.new(
$block, $*ST.get_object_sc_ref_past($*PACKAGE)
);
}

method scope_declarator:sym<my>($/) { make $<scoped>.ast; }
Expand Down

0 comments on commit 3eae147

Please sign in to comment.