summaryrefslogtreecommitdiffstatshomepage
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
commit5328a945994f66136b209f8e2c717cb969c7f013 (patch)
tree1a5090976a5d799f17f16ca5437b72dc74f4bcf1 /mdoc_term.c
parent42509ec027333e856b04e0acd2f35922c44b31d2 (diff)
downloadmandoc-5328a945994f66136b209f8e2c717cb969c7f013.tar.gz
mandoc-5328a945994f66136b209f8e2c717cb969c7f013.tar.zst
mandoc-5328a945994f66136b209f8e2c717cb969c7f013.zip
Added `%U' to -mdoc (doesn't render in a nice way yet).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index d427c1d0..bda0a669 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.94 2009/10/22 18:55:32 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.95 2009/10/24 05:52:14 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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):