Skip to content

Commit

Permalink
POST::PBCCompiler - fix compiler setup
Browse files Browse the repository at this point in the history
It should use stages, not a second language declaration.  Also, the
stages were wrong.
  • Loading branch information
Benabik committed Aug 11, 2011
1 parent 3f6df9e commit 1a56de8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compilers/pct/src/POST/PBCCompiler.pir
Expand Up @@ -151,9 +151,9 @@
.annotate 'line', 18
get_hll_global $P108, ["POST"], "PBCCompiler"
new $P109, "ResizablePMCArray"
push $P109, "pbc"
push $P109, "packfile"
push $P109, "mainpmc"
$P108."language"($P109)
$P108."stages"($P109)
.end
Expand Down
2 changes: 1 addition & 1 deletion compilers/pct/src/POST/PBCCompiler.pm
Expand Up @@ -15,7 +15,7 @@ into PBC or an Eval PMC (bytecode).

INIT {
POST::PBCCompiler.language('newPOST');
POST::PBCCompiler.language(<pbc mainpmc>);
POST::PBCCompiler.stages(<packfile pbc>);
}

=begin
Expand Down

0 comments on commit 1a56de8

Please sign in to comment.