diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 18:18:26 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-14 18:18:26 +0000 |
commit | 9d2126364d8b61c48b6516962f916f6f2f50f3e5 (patch) | |
tree | fd0101c122fda34a5c8e33fe431ce11f31bb9aa7 | |
parent | f8acc64e80302314af12fd3d08c5e78149621b0c (diff) | |
download | mandoc-9d2126364d8b61c48b6516962f916f6f2f50f3e5.tar.gz mandoc-9d2126364d8b61c48b6516962f916f6f2f50f3e5.tar.zst mandoc-9d2126364d8b61c48b6516962f916f6f2f50f3e5.zip |
always give commas their own <mo> element,
suggested by bentley@, improves e.g. glMultMatrix(3)
-rw-r--r-- | eqn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.76 2017/07/08 14:51:04 schwarze Exp $ */ +/* $Id: eqn.c,v 1.77 2017/07/14 18:18:26 schwarze Exp $ */ /* * Copyright (c) 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -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) { |