diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-24 05:52:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-24 05:52:13 +0000 |
commit | 5328a945994f66136b209f8e2c717cb969c7f013 (patch) | |
tree | 1a5090976a5d799f17f16ca5437b72dc74f4bcf1 /mdoc_term.c | |
parent | 42509ec027333e856b04e0acd2f35922c44b31d2 (diff) | |
download | mandoc-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.c | 5 |
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): |