* Assertions on missing argument to .SH
@ 2011-11-17 0:24 Joerg Sonnenberger
2011-11-18 17:26 ` Joerg Sonnenberger
0 siblings, 1 reply; 2+ messages in thread
From: Joerg Sonnenberger @ 2011-11-17 0:24 UTC (permalink / raw)
To: tech
Hi all,
the logic to skip non-ASCII bytes exposed a bug in the current man
parser. Consider the following input:
.SH
.RS
This hits the man_node_append assertion that the parent is a block when
allocating the body for .RS, since it ends up as node of .SH's head.
I'm not sure what the best solution is here -- ideas?
Joerg
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Assertions on missing argument to .SH
2011-11-17 0:24 Assertions on missing argument to .SH Joerg Sonnenberger
@ 2011-11-18 17:26 ` Joerg Sonnenberger
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Sonnenberger @ 2011-11-18 17:26 UTC (permalink / raw)
To: tech
On Thu, Nov 17, 2011 at 01:24:55AM +0100, Joerg Sonnenberger wrote:
> Hi all,
> the logic to skip non-ASCII bytes exposed a bug in the current man
> parser. Consider the following input:
>
> .SH
> .RS
>
> This hits the man_node_append assertion that the parent is a block when
> allocating the body for .RS, since it ends up as node of .SH's head.
> I'm not sure what the best solution is here -- ideas?
Looking at this in more detail -- why are .SH and .SS MAN_SCOPED?
It doesn't seem to make any sense and dropping it seems to work fine.
Joerg
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-18 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-17 0:24 Assertions on missing argument to .SH Joerg Sonnenberger
2011-11-18 17:26 ` Joerg Sonnenberger
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).