diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
commit | 0a1a67c2c7759505f69bf1127a57b5232a7f84bd (patch) | |
tree | 98aeb84543ec76ae485fe13e0b24c57eb062964c /mdocml.c | |
parent | e653c8089f13da940f3273f95fca6e7098852332 (diff) | |
download | mandoc-0a1a67c2c7759505f69bf1127a57b5232a7f84bd.tar.gz |
*** empty log message ***
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -328,6 +328,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err type) fmt = lit = NULL; switch (type) { + case (ERR_SYNTAX_NOTEXT): + lit = "syntax: context-free text disallowed"; + break; case (ERR_SYNTAX_QUOTE): lit = "syntax: disallowed argument quotation"; break; @@ -357,7 +360,7 @@ msg_err(void *arg, int tok, int col, enum mdoc_err type) fmt = "scope: macro `%s' may not be nested in the current context"; break; case (ERR_MACRO_NOTSUP): - fmt = "macro `%s' not supported"; + lit = "macro not supported"; break; case (ERR_MACRO_NOTCALL): fmt = "macro `%s' not callable"; |