Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Ensure init of the meta-model is the first thing that happens, even b…
…efore we load the HOWs. First step on the way to enabling us to switch class keyword to ClassHOW.
  • Loading branch information
jnthn committed Oct 2, 2010
1 parent 301e63e commit ded349e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/NQP/Compiler.pir
Expand Up @@ -8,11 +8,18 @@ NQP::Compiler - NQP compiler

=cut

# Initialize meta-model.
.loadlib "nqp_group"
.loadlib "nqp_ops"
.sub '' :anon :load :init
nqp_dynop_setup
.end
.include 'gen/nqp-how.pir'

.sub '' :anon :load :init
load_bytecode 'P6Regex.pbc'
.end

.include 'gen/nqp-how.pir'
.include 'gen/nqp-grammar.pir'
.include 'gen/nqp-actions.pir'
.include 'src/cheats/nqp-builtins.pir'
Expand Down

0 comments on commit ded349e

Please sign in to comment.