* mdocml: Oops: forgot to make roff_cblock() understand the new macros.
@ 2010-05-17 0:46 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-05-17 0:46 UTC (permalink / raw)
To: source
Log Message:
-----------
Oops: forgot to make roff_cblock() understand the new macros.
Modified Files:
--------------
mdocml:
roff.c
Revision Data
-------------
Index: roff.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/roff.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -Lroff.c -Lroff.c -u -p -r1.80 -r1.81
--- roff.c
+++ roff.c
@@ -340,7 +340,22 @@ roff_cblock(ROFF_ARGS)
return(ROFF_IGN);
}
- if (ROFF_ig != r->last->tok) {
+ switch (r->last->tok) {
+ case (ROFF_am):
+ /* FALLTHROUGH */
+ case (ROFF_ami):
+ /* FALLTHROUGH */
+ case (ROFF_am1):
+ /* FALLTHROUGH */
+ case (ROFF_de):
+ /* FALLTHROUGH */
+ case (ROFF_dei):
+ /* FALLTHROUGH */
+ case (ROFF_de1):
+ /* FALLTHROUGH */
+ case (ROFF_ig):
+ break;
+ default:
if ( ! (*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL))
return(ROFF_ERR);
return(ROFF_IGN);
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-17 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 0:46 mdocml: Oops: forgot to make roff_cblock() understand the new macros kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).