projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Corrected the last addition to man/nmh.man. Might be nicer to explain
[mmh]
/
uip
/
fmtdump.c
diff --git
a/uip/fmtdump.c
b/uip/fmtdump.c
index
0b3283d
..
2ec0a80
100644
(file)
--- a/
uip/fmtdump.c
+++ b/
uip/fmtdump.c
@@
-100,9
+100,12
@@
main (int argc, char **argv)
* Get new format string. Must be before chdir().
*/
nfs = new_fs (form, format, FORMAT);
* Get new format string. Must be before chdir().
*/
nfs = new_fs (form, format, FORMAT);
- (void) fmt_compile(nfs, &fmt);
+ (void) fmt_compile(nfs, &fmt, 1);
fmt_dump(fmt);
fmt_dump(fmt);
+
+ fmt_free(fmt, 1);
+
done(0);
return 1;
}
done(0);
return 1;
}
@@
-355,6
+358,7
@@
f_typestr(int t)
case FT_STRFW: return("STRFW");
case FT_PUTADDR: return("PUTADDR");
case FT_STRLIT: return("STRLIT");
case FT_STRFW: return("STRFW");
case FT_PUTADDR: return("PUTADDR");
case FT_STRLIT: return("STRLIT");
+ case FT_STRLITZ: return("STRLITZ");
case FT_LS_COMP: return("LS_COMP");
case FT_LS_LIT: return("LS_LIT");
case FT_LS_GETENV: return("LS_GETENV");
case FT_LS_COMP: return("LS_COMP");
case FT_LS_LIT: return("LS_LIT");
case FT_LS_GETENV: return("LS_GETENV");