summaryrefslogtreecommitdiffstats
path: root/eqn.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-14 18:18:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-14 18:18:26 +0000
commitb0c18ade72b60a264da3a5559c0138258bfe78fe (patch)
treefc7e647c8217f3cff086bb44d5313b9ade504157 /eqn.c
parent842880c9311d3fa7e5e6e669380a844fa2b6b834 (diff)
downloadmandoc-b0c18ade72b60a264da3a5559c0138258bfe78fe.tar.gz
always give commas their own <mo> element,
suggested by bentley@, improves e.g. glMultMatrix(3)
Diffstat (limited to 'eqn.c')
-rw-r--r--eqn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eqn.c b/eqn.c
index d552ec2c..d0456af6 100644
--- a/eqn.c
+++ b/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) {