Fix sv_dump to dump formats without the (non-existent) NVX.
authorNicholas Clark <nick@ccl4.org>
Mon, 20 Feb 2006 14:01:59 +0000 (14:01 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 20 Feb 2006 14:01:59 +0000 (14:01 +0000)
p4raw-id: //depot/perl@27245

dump.c

diff --git a/dump.c b/dump.c
index 64d7765..15aa750 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -1303,7 +1303,8 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
 #endif
        PerlIO_putc(file, '\n');
     }
-    if ((type >= SVt_PVNV && type != SVt_PVAV && type != SVt_PVHV)
+    if ((type >= SVt_PVNV && type != SVt_PVAV && type != SVt_PVHV
+        && type != SVt_PVFM)
        || type == SVt_NV) {
        STORE_NUMERIC_LOCAL_SET_STANDARD();
        /* %Vg doesn't work? --jhi */