diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-12-31 00:08:00 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-12-31 00:08:00 +0000 |
commit | 1cb9cd5016282146cd55ab904078500def5f5754 (patch) | |
tree | 4952a1cfb2e8ca1b21b5c8c452ec04043a27857e /dump.c | |
parent | f6fd7794b9baf00eb9b1d47e4ad481f2e8866e76 (diff) | |
download | perl-1cb9cd5016282146cd55ab904078500def5f5754.tar.gz |
Move SVt_BIND to be the lowest type after SVt_NULL. This will force all
code attempting to upgrade a BIND to anything into sv_upgrade(), which
for now will croak, but in future can DTRT, for whatever TRT is decided
to be. Make SvOK() check the flags of the referenant for a BIND, as I
envisage that the only flag bit that will get set on a BIND is SVf_UTF8
even if the referant has a defined value.
p4raw-id: //depot/perl@29642
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,10 +29,10 @@ static const char* const svtypenames[SVt_LAST] = { "NULL", + "BIND", "IV", "NV", "RV", - "BIND", "PV", "PVIV", "PVNV", @@ -49,10 +49,10 @@ static const char* const svtypenames[SVt_LAST] = { static const char* const svshorttypenames[SVt_LAST] = { "UNDEF", + "BIND", "IV", "NV", "RV", - "BIND", "PV", "PVIV", "PVNV", |