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 3afd0f87; for ; Fri, 3 Apr 2015 12:01:22 -0500 (EST) Date: Fri, 3 Apr 2015 12:01:22 -0500 (EST) Message-Id: <4974484564483667334.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: It turns out the man(7) parser suffers from unintelligible X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- It turns out the man(7) parser suffers from unintelligible handling of block rewinding, just like then mdoc(7) parser did. First step in getting rid of rew_scope(): Replace the only call where the target block is known. This commit is analogous to mdoc_macro.c rev. 1.167. One down, three to go. Modified Files: -------------- mdocml: man_macro.c Revision Data ------------- Index: man_macro.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/man_macro.c,v retrieving revision 1.102 retrieving revision 1.103 diff -Lman_macro.c -Lman_macro.c -u -p -r1.102 -r1.103 --- man_macro.c +++ man_macro.c @@ -401,7 +401,7 @@ blk_imp(MACRO_PROT_ARGS) /* Close out the head and open the body. */ - rew_scope(ROFFT_HEAD, man, tok); + man_unscope(man, n); man_body_alloc(man, line, ppos, tok); } -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv