summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdocml.c b/mdocml.c
index aff3bb3c..df8094ca 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -370,6 +370,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err type)
case (ERR_ARGS_EQ0):
fmt = "macro `%s' expects zero arguments";
break;
+ case (ERR_ARGS_EQ1):
+ fmt = "macro `%s' expects one argument";
+ break;
case (ERR_ARGS_GE1):
fmt = "macro `%s' expects one or more arguments";
break;