]> diplodocus.org Git - nmh/commitdiff
Output the header name for the PUTADDR instruction
authorKen Hornstein <kenh@pobox.com>
Mon, 22 Apr 2019 23:51:52 +0000 (19:51 -0400)
committerKen Hornstein <kenh@pobox.com>
Mon, 22 Apr 2019 23:51:52 +0000 (19:51 -0400)
uip/fmttest.c

index 1076be4841aefc0957f8da08c9d9297b07ab8ee9..f352ce64ad56ae30f20d4a63c1eea00349f81954 100644 (file)
@@ -970,6 +970,11 @@ dumpone(struct format *fmt)
        case FT_LV_DAT:
                printf(", value dat[%d]", fmt->f_value);
                break;
+
+       case FT_PUTADDR:
+               fputs(", header ", stdout);
+               litputs(fmt->f_text);
+
        }
        putchar('\n');
 }