From 03f7a9976b388e476f2850c33f22cc63572f6a48 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 12 Mar 2009 16:30:50 +0000 Subject: Added -nested (doesn't do anything). Added .%C. .Cd is now callable. Added .Rv -std. --- mdoc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index 72e63a1c..aaee0efa 100644 --- a/mdoc.c +++ b/mdoc.c @@ -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)); } -- cgit