Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
unbreak build on Parrot with a 32bit OS, nwc10++
  • Loading branch information
FROGGS committed Apr 8, 2015
1 parent a997d3d commit c6cfed4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/QRegex/Cursor.nqp
Expand Up @@ -871,13 +871,7 @@ class NQPCursor does NQPCursorRole {

# Walk the Cursor stack and populate the Cursor.
my $cs := nqp::getattr(self, NQPCursor, '$!cstack');
# Dunno why this optimization gives a NullPointer exception on JVM...
#?if jvm
if !nqp::isnull($cs) && nqp::istrue($cs) {
#?endif
#?if !jvm
if %caplist && !nqp::isnull($cs) && nqp::istrue($cs) {
#?endif
if !nqp::isnull(%caplist) && %caplist && !nqp::isnull($cs) && nqp::istrue($cs) {
my int $cselems := nqp::elems($cs);
my int $csi;
while $csi < $cselems {
Expand Down

0 comments on commit c6cfed4

Please sign in to comment.