Skip to content

Commit

Permalink
We never actually install KnowHOW in the package (yet), so just obtai…
Browse files Browse the repository at this point in the history
…n it directly from the 6model core for now.
  • Loading branch information
jnthn committed Apr 25, 2011
1 parent 26f67b1 commit 0c29c72
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/NQP/Grammar.pm
Expand Up @@ -10,12 +10,9 @@ grammar NQP::Grammar is HLL::Grammar {
%*LANG<MAIN-actions> := NQP::Actions;

# Package declarator to meta-package mapping. Note that there is
# one universal KnowHOW from the 6model core, so we do not need to
# worry about locating the "correct one" from the point of view of
# the code we're compiling. The other packages will get set up after
# the loading of the meta-objects.
# one universal KnowHOW from the 6model core.
my %*HOW;
%*HOW<knowhow> := KnowHOW;
%*HOW<knowhow> := pir::get_knowhow__P();

# What attribute class to use with what HOW, plus a default.
my $*DEFAULT-METAATTR := 'NQPAttribute';
Expand Down

0 comments on commit 0c29c72

Please sign in to comment.