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
Turn INIT() sub in P6Regex::Actions into a standard INIT {...} block.
  • Loading branch information
pmichaud committed May 15, 2010
1 parent c5a3363 commit 1232366
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/Regex/P6Regex.pir
Expand Up @@ -28,8 +28,6 @@ Regex::P6Regex - Parser/compiler for Perl 6 regexes
p6regex.'parsegrammar'($P0)
$P0 = get_hll_global ['Regex';'P6Regex'], 'Actions'
p6regex.'parseactions'($P0)
$P0 = get_hll_global ['Regex';'P6Regex';'Actions'], 'INIT'
$P0()
.end
Expand Down
2 changes: 1 addition & 1 deletion src/Regex/P6Regex/Actions.pm
Expand Up @@ -3,7 +3,7 @@ class Regex::P6Regex::Actions is HLL::Actions;
## this will eventually be handled using contextuals
our @MODIFIERS;

sub INIT() {
INIT {
@MODIFIERS := Q:PIR {
%r = new ['ResizablePMCArray']
$P0 = new ['Hash']
Expand Down

0 comments on commit 1232366

Please sign in to comment.