diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-01-26 12:00:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-20 16:08:57 +0100 |
commit | e77da3b2183d0f9c5ea81dc5780d9a480fc4fa88 (patch) | |
tree | 6f2dbd02b46b0eab355f2e17d89f8ccac00df1d6 /sv.h | |
parent | 65ac1738675fbcf49a4c9d625c0c43dd73e6ff2f (diff) | |
download | perl-e77da3b2183d0f9c5ea81dc5780d9a480fc4fa88.tar.gz |
SvIVX() isn't valid on SVt_REGEXP
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1068,6 +1068,7 @@ the scalar's value cannot change unless written to. assert(SvTYPE(_svivx) != SVt_PVCV); \ assert(SvTYPE(_svivx) != SVt_PVFM); \ assert(SvTYPE(_svivx) != SVt_PVIO); \ + assert(SvTYPE(_svivx) != SVt_REGEXP); \ assert(!isGV_with_GP(_svivx)); \ &(((XPVIV*) MUTABLE_PTR(SvANY(_svivx)))->xiv_iv); \ })) @@ -1079,6 +1080,7 @@ the scalar's value cannot change unless written to. assert(SvTYPE(_svuvx) != SVt_PVCV); \ assert(SvTYPE(_svuvx) != SVt_PVFM); \ assert(SvTYPE(_svuvx) != SVt_PVIO); \ + assert(SvTYPE(_svuvx) != SVt_REGEXP); \ assert(!isGV_with_GP(_svuvx)); \ &(((XPVUV*) MUTABLE_PTR(SvANY(_svuvx)))->xuv_uv); \ })) @@ -1090,6 +1092,7 @@ the scalar's value cannot change unless written to. assert(SvTYPE(_svnvx) != SVt_PVCV); \ assert(SvTYPE(_svnvx) != SVt_PVFM); \ assert(SvTYPE(_svnvx) != SVt_PVIO); \ + assert(SvTYPE(_svnvx) != SVt_REGEXP); \ assert(!isGV_with_GP(_svnvx)); \ &(((XPVNV*) MUTABLE_PTR(SvANY(_svnvx)))->xnv_u.xnv_nv); \ })) |