From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o4ODaPqZ027867 for ; Mon, 24 May 2010 07:36:25 -0600 (MDT) Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id AA8BC156371 for ; Mon, 24 May 2010 15:36:19 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([127.0.0.1]) by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZljoyJ+iQJVf for ; Mon, 24 May 2010 15:36:17 +0200 (CEST) X-KTH-Auth: kristaps [130.237.7.146] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from lappy.bsd.lv (unknown [130.237.7.146]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 266C11557D3 for ; Mon, 24 May 2010 15:36:16 +0200 (CEST) Message-ID: <4BFA8146.6010003@bsd.lv> Date: Mon, 24 May 2010 15:38:14 +0200 From: Kristaps Dzonsons User-Agent: Thunderbird 2.0.0.16 (X11/20080812) X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: "tech@mdocml.bsd.lv" Subject: Re: PATCH: mdoc_ptext rewrite References: <20100524131952.GK13544@iris.usta.de> In-Reply-To: <20100524131952.GK13544@iris.usta.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > as part of the resync, i should like to commit the following to bsd.lv: > >> * Ingo has rewritten the main mdoc text parser, mdoc_ptext(), >> making it easier to understand and fixing various bugs. >> It is now correctly stripping white space from the end of >> text lines, in literal mode stripping tab characters as well, >> and it issues consistent warnings regarding trailing spaces >> and tabs on text lines. Besides, escaped backslashes no >> longer escape the following character. > > The patch included below has been updated to work with all changes > that happened in both trees, has been tested in the OpenBSD tree, > compiles in the bsd.lv tree, and the output of the binary from the > latter looks good to me, too. > > All the same, as this is somewhat intrusive, i would appreciate > your explicit testing and OK before committing to bsd.lv. Tested (only topically for visual effect, however) and looked over. Commit, please. Thanks, Kristaps -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv