summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/re/re.pm2
-rw-r--r--ext/re/re.xs5
2 files changed, 4 insertions, 3 deletions
diff --git a/ext/re/re.pm b/ext/re/re.pm
index f7708396df..84b701154d 100644
--- a/ext/re/re.pm
+++ b/ext/re/re.pm
@@ -4,7 +4,7 @@ package re;
use strict;
use warnings;
-our $VERSION = "0.22";
+our $VERSION = "0.23";
our @ISA = qw(Exporter);
our @EXPORT_OK = ('regmust',
qw(is_regexp regexp_pattern
diff --git a/ext/re/re.xs b/ext/re/re.xs
index 859938a366..1da68f12ee 100644
--- a/ext/re/re.xs
+++ b/ext/re/re.xs
@@ -100,8 +100,9 @@ PPCODE:
} else if (RX_FLOAT_UTF8(re)) {
fl = sv_2mortal(newSVsv(RX_FLOAT_UTF8(re)));
}
- XPUSHs(an);
- XPUSHs(fl);
+ EXTEND(SP, 2);
+ PUSHs(an);
+ PUSHs(fl);
XSRETURN(2);
}
XSRETURN_UNDEF;