From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s628Le7Q007869 for ; Wed, 2 Jul 2014 04:21:40 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s628Lda9014208; Wed, 2 Jul 2014 04:21:39 -0400 (EDT) Date: Wed, 2 Jul 2014 04:21:39 -0400 (EDT) Message-Id: <201407020821.s628Lda9014208@krisdoz.my.domain> 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: Fix the column numbers associated with in_line_argn() macros; X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Fix the column numbers associated with in_line_argn() macros; this bug is more than four years old, introduced by kristaps@ in mdocml.bsd.lv rev. 1.46, March 30, 2010. Modified Files: -------------- mdocml: mdoc_macro.c Revision Data ------------- Index: mdoc_macro.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_macro.c,v retrieving revision 1.132 retrieving revision 1.133 diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.132 -r1.133 --- mdoc_macro.c +++ mdoc_macro.c @@ -1573,7 +1573,7 @@ in_line_argn(MACRO_PROT_ARGS) return(0); continue; } else if (0 == j) - if ( ! mdoc_elem_alloc(mdoc, line, la, tok, arg)) + if ( ! mdoc_elem_alloc(mdoc, line, ppos, tok, arg)) return(0); if (j == maxargs && ! flushed) { @@ -1609,7 +1609,7 @@ in_line_argn(MACRO_PROT_ARGS) j++; } - if (0 == j && ! mdoc_elem_alloc(mdoc, line, la, tok, arg)) + if (0 == j && ! mdoc_elem_alloc(mdoc, line, ppos, tok, arg)) return(0); /* Close out in a consistent state. */ -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv