projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring in spost.
[mmh]
/
uip
/
scansbr.c
diff --git
a/uip/scansbr.c
b/uip/scansbr.c
index
6eca931
..
a43044c
100644
(file)
--- a/
uip/scansbr.c
+++ b/
uip/scansbr.c
@@
-37,9
+37,6
@@
#define SBUFSIZ 512
static struct format *fmt;
#define SBUFSIZ 512
static struct format *fmt;
-#ifdef JLR
-static struct format *fmt_top;
-#endif /* JLR */
static struct comp *datecomp; /* pntr to "date" comp */
static struct comp *bodycomp; /* pntr to "body" pseudo-comp (if referenced) */
static struct comp *datecomp; /* pntr to "date" comp */
static struct comp *bodycomp; /* pntr to "body" pseudo-comp (if referenced) */
@@
-107,9
+104,6
@@
scan(FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,
/* Compile format string */
ncomps = fmt_compile(nfs, &fmt) + 1;
/* Compile format string */
ncomps = fmt_compile(nfs, &fmt) + 1;
-#ifdef JLR
- fmt_top = fmt;
-#endif /* JLR */
FINDCOMP(bodycomp, "body");
FINDCOMP(datecomp, "date");
FINDCOMP(cptr, "folder");
FINDCOMP(bodycomp, "body");
FINDCOMP(datecomp, "date");
FINDCOMP(cptr, "folder");
@@
-348,12
+342,6
@@
finished:
fmt_scan(fmt, scanl, slwidth, dat);
fmt_scan(fmt, scanl, slwidth, dat);
-#if 0
- fmt = fmt_scan(fmt, scanl, slwidth, dat);
- if (!fmt)
- fmt = fmt_top; /* reset for old format files */
-#endif
-
if (bodycomp)
bodycomp->c_text = saved_c_text;
if (bodycomp)
bodycomp->c_text = saved_c_text;