]> diplodocus.org Git - nmh/commitdiff
fmtdump.c, fmttest.c: Remove tests for FT_LIT_FORCE.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 17 Aug 2017 11:20:16 +0000 (12:20 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 17 Aug 2017 11:20:16 +0000 (12:20 +0100)
It isn't defined, and git-grep(1) suggests it was a local Lawrence
Berkeley Laboratory modification that output a literal without consuming
any of the width budget.

uip/fmtdump.c
uip/fmttest.c

index 57968f0..eeeb146 100644 (file)
@@ -238,9 +238,6 @@ dumpone(struct format *fmt)
                break;
 
        case FT_LIT:
-#ifdef FT_LIT_FORCE
-       case FT_LIT_FORCE:
-#endif
                putchar(' ');
                litputs(fmt->f_text);
                break;
@@ -346,9 +343,6 @@ f_typestr(int t)
        case FT_COMPF: return("COMPF");
        case FT_LIT: return("LIT");
        case FT_LITF: return("LITF");
-#ifdef FT_LIT_FORCE
-       case FT_LIT_FORCE: return("LIT_FORCE");
-#endif
        case FT_CHAR: return("CHAR");
        case FT_NUM: return("NUM");
        case FT_NUMF: return("NUMF");
index 301321b..becf25d 100644 (file)
@@ -865,9 +865,6 @@ dumpone(struct format *fmt)
                break;
 
        case FT_LIT:
-#ifdef FT_LIT_FORCE
-       case FT_LIT_FORCE:
-#endif
                putchar(' ');
                litputs(fmt->f_text);
                break;
@@ -1011,9 +1008,6 @@ f_typestr(int t)
        case FT_COMPF: return("COMPF");
        case FT_LIT: return("LIT");
        case FT_LITF: return("LITF");
-#ifdef FT_LIT_FORCE
-       case FT_LIT_FORCE: return("LIT_FORCE");
-#endif
        case FT_CHAR: return("CHAR");
        case FT_NUM: return("NUM");
        case FT_NUMF: return("NUMF");