* mdocml: At the beginning of .Bl, .Sm is allowed, and .Lp should cause a
@ 2010-12-22 22:05 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2010-12-22 22:05 UTC (permalink / raw)
To: source
Log Message:
-----------
At the beginning of .Bl, .Sm is allowed,
and .Lp should cause a warning, not an error.
"I don't suppose I mind this." kristaps@
Modified Files:
--------------
mdocml:
mdoc_validate.c
Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_validate.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.145 -r1.146
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -1573,12 +1573,14 @@ post_bl(POST_ARGS)
for (n = mdoc->last->child; n; n = n->next) {
switch (n->tok) {
- case (MDOC_It):
- continue;
- case (MDOC_Sm):
+ case (MDOC_Lp):
/* FALLTHROUGH */
case (MDOC_Pp):
mdoc_nmsg(mdoc, n, MANDOCERR_CHILD);
+ /* FALLTHROUGH */
+ case (MDOC_It):
+ /* FALLTHROUGH */
+ case (MDOC_Sm):
continue;
default:
break;
--
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-12-22 22:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-22 22:05 mdocml: At the beginning of .Bl, .Sm is allowed, and .Lp should cause a schwarze
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).