=================================================================== RCS file: /cvs/mandoc/Attic/mdocml.c,v retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- mandoc/Attic/mdocml.c 2008/12/29 18:08:44 1.28 +++ mandoc/Attic/mdocml.c 2008/12/29 19:25:29 1.29 @@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.28 2008/12/29 18:08:44 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.29 2008/12/29 19:25:29 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -369,6 +369,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err typ break; 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";