summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-05 17:57:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-05 17:57:07 +0000
commit0a1a67c2c7759505f69bf1127a57b5232a7f84bd (patch)
tree98aeb84543ec76ae485fe13e0b24c57eb062964c /mdocml.c
parente653c8089f13da940f3273f95fca6e7098852332 (diff)
downloadmandoc-0a1a67c2c7759505f69bf1127a57b5232a7f84bd.tar.gz
*** empty log message ***
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdocml.c b/mdocml.c
index 9e1acf3b..843242e1 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -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";