Skip to content

Commit

Permalink
[Match] return itemized arrays for quantified positional captures
Browse files Browse the repository at this point in the history
Fix suggested by pmichaud++
  • Loading branch information
moritz committed Aug 11, 2010
1 parent 43f00da commit a47c455
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/builtins/Cursor.pir
Expand Up @@ -25,7 +25,9 @@ Cursor - Perl 6 cursor objects
.end

.sub 'new_array' :method
$P0 = new ['Array']
$P0 = get_hll_global 'Array'
$P0 = $P0.'new'()
$P0 = $P0.'item'()
.return ($P0)
.end

Expand Down

0 comments on commit a47c455

Please sign in to comment.