From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pAIHQw9E029980 for ; Fri, 18 Nov 2011 12:26:59 -0500 (EST) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/avgusCdvwXOZ/NA7x/bslxlDPy6G726REW7piU2JIqNTwRM= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de ([2001:6f8:13f0:0:5e26:aff:fe1e:99a9]) by smtp.strato.de (jimi mo16) (RZmta 26.10 AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id L03911nAIHMtvy for ; Fri, 18 Nov 2011 18:26:51 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Fri, 18 Nov 2011 18:26:47 +0100 Date: Fri, 18 Nov 2011 18:26:47 +0100 From: Joerg Sonnenberger To: tech@mdocml.bsd.lv Subject: Re: Assertions on missing argument to .SH Message-ID: <20111118172647.GA27197@britannica.bec.de> Mail-Followup-To: tech@mdocml.bsd.lv References: <20111117002455.GA19655@britannica.bec.de> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111117002455.GA19655@britannica.bec.de> User-Agent: Mutt/1.5.21 (2010-09-15) 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