Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit c853a52b10b5f48d18a7ef97abf6c303f6deea72 1 parent b8d6f2b
@pmichaud pmichaud authored
Showing with 1 addition and 3 deletions.
  1. +1 −1  src/NQP/Actions.pm
  2. +0 −2  src/NQP/Compiler.pir
View
2  src/NQP/Actions.pm
@@ -2,7 +2,7 @@ class NQP::Actions is HLL::Actions;
our @BLOCK;
-sub INIT() {
+INIT {
our @BLOCK := Q:PIR { %r = new ['ResizablePMCArray'] };
}
View
2  src/NQP/Compiler.pir
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.