diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-06 16:50:18 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-06 16:50:18 +0000 |
commit | 3e277841fd42bbe51c55b127542258aebc6cb051 (patch) | |
tree | da5f7826cb3c4c69ce812d59b25c3c04da6da872 /mlg.c | |
parent | c88b46a1d151f56cb6253e239d00705af0b1087f (diff) | |
download | mandoc-3e277841fd42bbe51c55b127542258aebc6cb051.tar.gz |
*** empty log message ***
Diffstat (limited to 'mlg.c')
-rw-r--r-- | mlg.c | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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]); |