diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-14 18:18:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-07-14 18:18:06 +0000 |
commit | be3642fac667f1520377c24d7521c868823f4eab (patch) | |
tree | ff26e584b5b6286defd35b909763ccb0304dc0f4 /usr.bin | |
parent | 71c150db7f6c7773d4b257b009afa04a1885266a (diff) |
always give commas their own <mo> element,
suggested by bentley@, improves e.g. glMultMatrix(3)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/eqn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/eqn.c b/usr.bin/mandoc/eqn.c index 4de61175b38..b00e1e3a435 100644 --- a/usr.bin/mandoc/eqn.c +++ b/usr.bin/mandoc/eqn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eqn.c,v 1.39 2017/07/08 14:51:01 schwarze Exp $ */ +/* $OpenBSD: eqn.c,v 1.40 2017/07/14 18:18:05 schwarze Exp $ */ /* * Copyright (c) 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -1039,7 +1039,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) { |