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 d0757804 for ; Fri, 14 Jul 2017 13:18:56 -0500 (EST) Date: Fri, 14 Jul 2017 13:18:56 -0500 (EST) Message-Id: <11890366865085891586.enqueue@fantadrom.bsd.lv> X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: always give commas their own element, suggested by X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- always give commas their own element, suggested by bentley@, improves e.g. glMultMatrix(3) Modified Files: -------------- mandoc: eqn.c Revision Data ------------- Index: eqn.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/eqn.c,v retrieving revision 1.76 retrieving revision 1.77 diff -Leqn.c -Leqn.c -u -p -r1.76 -r1.77 --- eqn.c +++ eqn.c @@ -1041,7 +1041,7 @@ next_tok: /* No boundary after last character. */ if (*cpn == '\0') break; - if (ccln == ccl) + if (ccln == ccl && *cp != ',' && *cpn != ',') continue; /* Boundary found, split the text. */ if (parent->args == parent->expectargs) { -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv