=================================================================== RCS file: /cvs/mandoc/Attic/mdocml.c,v retrieving revision 1.28 retrieving revision 1.30 diff -u -p -r1.28 -r1.30 --- mandoc/Attic/mdocml.c 2008/12/29 18:08:44 1.28 +++ mandoc/Attic/mdocml.c 2008/12/30 19:06:03 1.30 @@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.28 2008/12/29 18:08:44 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.30 2008/12/30 19:06:03 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -370,6 +370,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err typ 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; @@ -496,6 +499,9 @@ msg_warn(void *arg, int tok, int col, enum mdoc_warn t break; case (WARN_IGN_AFTER_BLK): fmt = "ignore: macro `%s' ignored after block macro"; + break; + case (WARN_IGN_OBSOLETE): + fmt = "ignore: macro `%s' is obsolete"; break; case (WARN_IGN_BEFORE_BLK): fmt = "ignore: macro before block macro `%s' ignored";