Permalink
Browse files

Convert "sub INIT() {...}" in Actions.pm to "INIT { ... }".

  • Loading branch information...
1 parent b8d6f2b commit c853a52b10b5f48d18a7ef97abf6c303f6deea72 @pmichaud pmichaud committed Oct 30, 2009
Showing with 1 addition and 3 deletions.
  1. +1 −1 src/NQP/Actions.pm
  2. +0 −2 src/NQP/Compiler.pir
View
@@ -2,7 +2,7 @@ class NQP::Actions is HLL::Actions;
our @BLOCK;
-sub INIT() {
+INIT {
our @BLOCK := Q:PIR { %r = new ['ResizablePMCArray'] };
}
View
@@ -27,8 +27,6 @@ NQP::Compiler - NQP compiler
nqpproto.'parsegrammar'($P0)
$P0 = get_hll_global ['NQP'], 'Actions'
nqpproto.'parseactions'($P0)
- $P0 = get_hll_global ['NQP';'Actions'], 'INIT'
- $P0()
.end
.sub 'main' :main

0 comments on commit c853a52

Please sign in to comment.