discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Assert fails when outputting mdoc -> man with EQN
@ 2020-02-15 14:28 Stephen Gregoratto
  2020-02-15 15:17 ` Ingo Schwarze
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Gregoratto @ 2020-02-15 14:28 UTC (permalink / raw)
  To: discuss

I recently forked a simple password generator[1] and converted some
equations in the manpage[2] to eqn. For some reason, converting from
mdoc to man triggers an assertion (from the latest CVS revision):

mdoc_man.c:301: mdoc_man_act: Assertion `tok >= MDOC_Dd && tok <= MDOC_MAX' failed.

Inspecting it in GDB, we see that:

(gdb) p tok
$4 = TOKEN_NONE

[1] https://git.sgregoratto.me/rpass/
[2] https://www.sgregoratto.me/paste/rpass.1
-- 
Stephen Gregoratto
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-15 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-15 14:28 Assert fails when outputting mdoc -> man with EQN Stephen Gregoratto
2020-02-15 15:17 ` Ingo 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).