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

Commit

Permalink
Fix incorrect attr access spotted by moritz++.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jan 28, 2011
1 parent 94c8f60 commit 4ba2dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Regex/Cursor-builtins.pir
Expand Up @@ -226,7 +226,8 @@ Regex::Cursor-builtins - builtin regexes for Cursor objects
message .= ", couldn't find final "
message .= goal
message .= ' at line '
$P0 = getattribute self, '$!target'
$P0 = get_hll_global ['Regex'], 'Cursor'
$P0 = getattribute self, $P0, '$!target'
$P1 = get_hll_global ['HLL'], 'Compiler'
$I0 = self.'pos'()
$I0 = $P1.'lineof'($P0, $I0)
Expand Down

0 comments on commit 4ba2dc2

Please sign in to comment.