summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-24 05:52:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-24 05:52:13 +0000
commit24ca6b6c497fdd0db41b4dcd4172e20ee02df76e (patch)
treebebe03b1d2de824ceb91acd5b9459a6a55476df8 /mdoc_term.c
parent1dd07b15a1d771e23ba0d050538a2e13f10239f6 (diff)
downloadmandoc-24ca6b6c497fdd0db41b4dcd4172e20ee02df76e.tar.gz
Added `%U' to -mdoc (doesn't render in a nice way yet).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index c59c42b6..7461950a 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -236,6 +236,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, termp____post }, /* %Q */
{ termp_sp_pre, NULL }, /* br */
{ termp_sp_pre, NULL }, /* sp */
+ { NULL, termp____post }, /* %U */
};
#ifdef __linux__
@@ -2006,6 +2007,8 @@ static void
termp____post(DECL_ARGS)
{
+ /* TODO: %U. */
+
p->flags |= TERMP_NOSPACE;
switch (n->tok) {
case (MDOC__T):