* mdocml: In SYNOPSIS mode, .Ek doesn't end a keep.
@ 2013-05-29 15:40 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2013-05-29 15:40 UTC (permalink / raw)
To: source
Log Message:
-----------
In SYNOPSIS mode, .Ek doesn't end a keep.
Found and fixed on the plane to the OpenBSD t2k13 hackathon in Toronto.
Modified Files:
--------------
mdocml:
mdoc_man.c
mdoc_term.c
Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_man.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.49 -r1.50
--- mdoc_man.c
+++ mdoc_man.c
@@ -901,7 +901,7 @@ static void
post_bk(DECL_ARGS)
{
- if (MDOC_BODY == n->type)
+ if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags))
outflags &= ~MMAN_Bk;
}
Index: mdoc_term.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_term.c,v
retrieving revision 1.246
retrieving revision 1.247
diff -Lmdoc_term.c -Lmdoc_term.c -u -p -r1.246 -r1.247
--- mdoc_term.c
+++ mdoc_term.c
@@ -2215,7 +2215,7 @@ static void
termp_bk_post(DECL_ARGS)
{
- if (MDOC_BODY == n->type)
+ if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags))
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP);
}
--
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:[~2013-05-29 15:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 15:40 mdocml: In SYNOPSIS mode, .Ek doesn't end a keep 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).