]> 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 1076be4..f352ce6 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');
 }