aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit5b808bd0105b64af03ab818fb0160e8e98aac0ba (patch)
tree18f1acd387bd641a73004a51af561c656e63241e
parent66a7081fb0599f20144e1ce1a86c3d6e6f7b4106 (diff)
downloadmandoc-5b808bd0105b64af03ab818fb0160e8e98aac0ba.tar.gz
mandoc-5b808bd0105b64af03ab818fb0160e8e98aac0ba.tar.zst
mandoc-5b808bd0105b64af03ab818fb0160e8e98aac0ba.zip
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.
-rw-r--r--mdoc_validate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 54180800..a681d82e 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.191 2012/11/17 00:26:33 schwarze Exp $ */
+/* $Id: mdoc_validate.c,v 1.192 2013/08/05 14:36:01 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -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] = {