summaryrefslogtreecommitdiffstats
path: root/mlg.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-06 16:50:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-06 16:50:18 +0000
commit3e277841fd42bbe51c55b127542258aebc6cb051 (patch)
treeda5f7826cb3c4c69ce812d59b25c3c04da6da872 /mlg.c
parentc88b46a1d151f56cb6253e239d00705af0b1087f (diff)
downloadmandoc-3e277841fd42bbe51c55b127542258aebc6cb051.tar.gz
*** empty log message ***
Diffstat (limited to 'mlg.c')
-rw-r--r--mlg.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/mlg.c b/mlg.c
index 2cca010d..c8b98b9d 100644
--- a/mlg.c
+++ b/mlg.c
@@ -426,6 +426,17 @@ mlg_roffspecial(void *arg, int tok, const char *start, char **more)
p = (struct md_mlg *)arg;
switch (tok) {
+ case (ROFF_Bt):
+ assert(NULL == *more);
+ if ( ! mlg_begintag(p, MD_NS_INLINE, tok, NULL, NULL))
+ return(0);
+ if ( ! ml_puts(p->mbuf, "is currently in beta "
+ "test.", &p->pos))
+ return(0);
+ if ( ! mlg_endtag(p, MD_NS_INLINE, tok))
+ return(0);
+ break;
+
case (ROFF_Xr):
if ( ! *more) {
mlg_err(p, start, start, "missing argument");
@@ -495,6 +506,17 @@ mlg_roffspecial(void *arg, int tok, const char *start, char **more)
return(0);
break;
+ case (ROFF_Ud):
+ assert(NULL == *more);
+ if ( ! mlg_begintag(p, MD_NS_INLINE, tok, NULL, NULL))
+ return(0);
+ if ( ! ml_puts(p->mbuf, "currently under "
+ "development.", &p->pos))
+ return(0);
+ if ( ! mlg_endtag(p, MD_NS_INLINE, tok))
+ return(0);
+ break;
+
default:
mlg_err(p, start, start, "`%s' not yet supported",
toknames[tok]);