X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Ffmt_compile.c;h=1d03b21fce26d4ec933b84ad401188f05941a417;hb=ab3e934551e83f49a04975b05c11c1b3d5768642;hp=ee495f1463e87db72b981d17fa9defe554bfcd51;hpb=dd16d13e6e96a0ed6e7d7a23d6e45fd628420ae4;p=mmh diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index ee495f1..1d03b21 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -35,6 +35,8 @@ * * - Add the code in fmt_scan.c to handle your new function. * + * - Add code to fmtdump.c to display your new function. + * * - Document the new function in the mh-format(5) man page. * */ @@ -137,6 +139,7 @@ static struct ftable functable[] = { { "putnumf", TF_EXPR, FT_NUMF, 0, 0 }, { "putaddr", TF_STR, FT_PUTADDR, 0, 0 }, { "putlit", TF_STR, FT_STRLIT, 0, 0 }, + { "zputlit", TF_STR, FT_STRLITZ, 0, 0 }, { "void", TF_NOP, 0, 0, 0 }, { "comp", TF_COMP, FT_LS_COMP, 0, TFL_PUTS },