diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-05 22:34:30 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-05 22:34:30 +0000 |
commit | d6d6f5e42f2444e9f1979336cacb89b0a8d585b5 (patch) | |
tree | c6a9727e3c0649b790a55a6723a5ba63b10be2cd /mlg.c | |
parent | a615ddd77b9fc44ac7ffab361ab156b46fd896c6 (diff) | |
download | mandoc-d6d6f5e42f2444e9f1979336cacb89b0a8d585b5.tar.gz |
Nm works properly, many other changes, etc.
Diffstat (limited to 'mlg.c')
-rw-r--r-- | mlg.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -447,6 +447,17 @@ mlg_roffspecial(void *arg, int tok, const char *start, char **more) return(0); break; case (ROFF_Fn): + abort(); /* TODO */ + break; + case (ROFF_Nm): + assert(*more); + if ( ! mlg_begintag(p, MD_NS_INLINE, tok, NULL, NULL)) + return(0); + if ( ! ml_puts(p->mbuf, *more++, &p->pos)) + return(0); + assert(NULL == *more); + if ( ! mlg_endtag(p, MD_NS_INLINE, tok)) + return(0); break; case (ROFF_Ns): p->flags |= ML_OVERRIDE_ONE; |