diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-12 16:30:50 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-12 16:30:50 +0000 |
commit | 03f7a9976b388e476f2850c33f22cc63572f6a48 (patch) | |
tree | 212211aed9deabbdb3b4aabe5c95343e84e0bb28 /mdoc.c | |
parent | dd35a6706a756677ff1c2734a6eb2fad8a6784fb (diff) | |
download | mandoc-03f7a9976b388e476f2850c33f22cc63572f6a48.tar.gz |
Added -nested (doesn't do anything).
Added .%C.
.Cd is now callable.
Added .Rv -std.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -73,7 +73,8 @@ const char *const __mdoc_macronames[MDOC_MAX] = { "Bk", "Ek", "Bt", "Hf", "Fr", "Ud", "Lb", "Ap", "Lp", "Lk", "Mt", "Brq", - "Bro", "Brc" + /* LINTED */ + "Bro", "Brc", "\%C" }; const char *const __mdoc_argnames[MDOC_ARG_MAX] = { @@ -85,7 +86,7 @@ const char *const __mdoc_argnames[MDOC_ARG_MAX] = { "ohang", "inset", "column", "width", "compact", "std", "filled", "words", "emphasis", - "symbolic" + "symbolic", "nested" }; const char * const *mdoc_macronames = __mdoc_macronames; @@ -257,7 +258,8 @@ mdoc_macro(struct mdoc *m, int tok, "disallowed in prologue")); if (1 != pp && ! (MDOC_CALLABLE & mdoc_macros[tok].flags)) - return(mdoc_perr(m, ln, pp, "not callable")); + return(mdoc_perr(m, ln, pp, "%s not callable", + mdoc_macronames[tok])); return((*mdoc_macros[tok].fp)(m, tok, ln, pp, pos, buf)); } |