From 5328a945994f66136b209f8e2c717cb969c7f013 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 24 Oct 2009 05:52:13 +0000 Subject: Added `%U' to -mdoc (doesn't render in a nice way yet). --- mdoc_term.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mdoc_term.c') 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 * @@ -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): -- cgit v1.2.3-56-ge451