Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Eliminate CodeString coercion.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Sep 8, 2010
1 parent bb5d370 commit d2d100f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Regex/Cursor.pir
Expand Up @@ -274,8 +274,7 @@ Create a new cursor for matching C<target>.
parrotclass = getattribute $P0, 'parrotclass'
cur = new parrotclass

$P0 = new ['CodeString']
$P0 = target
$P0 = box target
setattribute cur, '$!target', $P0

if has_cont goto cursor_cont
Expand Down

0 comments on commit d2d100f

Please sign in to comment.