=================================================================== RCS file: /cvs/mandoc/Attic/mdocml.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -p -r1.34 -r1.35 --- mandoc/Attic/mdocml.c 2009/01/05 16:11:14 1.34 +++ mandoc/Attic/mdocml.c 2009/01/05 17:57:08 1.35 @@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.34 2009/01/05 16:11:14 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.35 2009/01/05 17:57:08 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -328,6 +328,9 @@ msg_err(void *arg, int tok, int col, enum mdoc_err typ 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 typ 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";