diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-05 17:57:07 +0000 |
commit | 1d26ffbd16140a752b2adcc259c2957382a4becc (patch) | |
tree | 4376afeeb0ff4b134e234bb994faefca1ba5dc19 /mdocml.c | |
parent | 15ff2c88b54b3a9deb82db8f12168847c99a1904 (diff) | |
download | mandoc-1d26ffbd16140a752b2adcc259c2957382a4becc.tar.gz mandoc-1d26ffbd16140a752b2adcc259c2957382a4becc.tar.zst mandoc-1d26ffbd16140a752b2adcc259c2957382a4becc.zip |
*** empty log message ***
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 <kristaps@kth.se> * @@ -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"; |