source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: always give commas their own <mo> element, suggested by
@ 2017-07-14 18:18 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-07-14 18:18 UTC (permalink / raw)
  To: source

Log Message:
-----------
always give commas their own <mo> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-14 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14 18:18 mandoc: always give commas their own <mo> element, suggested by schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).