diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-11 16:57:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-07-11 16:57:43 +0000 |
commit | 8cbcf56b6dbe9eba7aeee65bbf6af74edcf8c1e6 (patch) | |
tree | 98ae654d7678e56791efdd7bb877850a0e8c0f59 | |
parent | b7037aff6da1155d4e7f029ee274a46485ddd02e (diff) | |
download | mandoc-8cbcf56b6dbe9eba7aeee65bbf6af74edcf8c1e6.tar.gz |
fix position and formatting of %U;
OpenBSD rev. 1.104 and 1.145, respectively
-rw-r--r-- | mdoc_term.c | 2 | ||||
-rw-r--r-- | mdoc_validate.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index af390e36..4f5b0ae1 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -242,7 +242,7 @@ static const struct termact termacts[MDOC_MAX] = { { NULL, termp____post }, /* %Q */ { termp_sp_pre, NULL }, /* br */ { termp_sp_pre, NULL }, /* sp */ - { termp_under_pre, termp____post }, /* %U */ + { NULL, termp____post }, /* %U */ { NULL, NULL }, /* Ta */ }; diff --git a/mdoc_validate.c b/mdoc_validate.c index b8c4c0f8..49d6f780 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -314,12 +314,12 @@ static const enum mdoct rsord[RSORD_MAX] = { MDOC__R, MDOC__N, MDOC__V, + MDOC__U, MDOC__P, MDOC__Q, MDOC__D, MDOC__O, - MDOC__C, - MDOC__U + MDOC__C }; static const char * const secnames[SEC__MAX] = { |