summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-31 00:08:00 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-31 00:08:00 +0000
commit1cb9cd5016282146cd55ab904078500def5f5754 (patch)
tree4952a1cfb2e8ca1b21b5c8c452ec04043a27857e /dump.c
parentf6fd7794b9baf00eb9b1d47e4ad481f2e8866e76 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index 0ad48d1e99..7f221814a9 100644
--- a/dump.c
+++ b/dump.c
@@ -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",