summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-08-05 14:36:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-08-05 14:36:01 +0000
commit643ebb0f93d8927d672a9364ca2c464d0e9f5da8 (patch)
tree8f8e8d974d82b2636d72f408396f0a060edccd7b /mdoc_validate.c
parent0e7c72d1a5dd18a870cd26c070af637752f49e3e (diff)
downloadmandoc-643ebb0f93d8927d672a9364ca2c464d0e9f5da8.tar.gz
Put .%C before .%D in .Rs output
because that's the usual order in formal citations. My patch that was accepted into groff by Werner Lemberg uses the same order, so keep groff and mandoc consistent.
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 54630d1b..7e28df3a 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -319,9 +319,9 @@ static const enum mdoct rsord[RSORD_MAX] = {
MDOC__U,
MDOC__P,
MDOC__Q,
+ MDOC__C,
MDOC__D,
- MDOC__O,
- MDOC__C
+ MDOC__O
};
static const char * const secnames[SEC__MAX] = {