From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id f6ce2f0b for ; Thu, 11 Apr 2019 22:38:40 -0500 (EST) Date: Thu, 11 Apr 2019 22:38:40 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: docbook2mdoc: Outside , format and X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- Outside , format and in-line rather than stand-alone. While many potential assertion failures remain, this patch fixes the last remaining assertion that actually occurs in Xenocara. Modified Files: -------------- docbook2mdoc: docbook2mdoc.c Revision Data ------------- Index: docbook2mdoc.c =================================================================== RCS file: /home/cvs/mdocml/docbook2mdoc/docbook2mdoc.c,v retrieving revision 1.103 retrieving revision 1.104 diff -Ldocbook2mdoc.c -Ldocbook2mdoc.c -u -p -r1.103 -r1.104 --- docbook2mdoc.c +++ docbook2mdoc.c @@ -935,7 +935,9 @@ pnode_print(struct format *f, struct pno break; case NODE_PARAMDEF: case NODE_PARAMETER: - macro_nodeline(f, "Fa", n, ARG_SINGLE); + /* More often, these appear inside NODE_FUNCPROTOTYPE. */ + macro_open(f, "Fa"); + macro_addnode(f, n, ARG_SPACE | ARG_SINGLE); pnode_unlinksub(n); break; case NODE_QUOTE: -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv