version 1.34, 2009/01/05 16:11:14 |
version 1.35, 2009/01/05 17:57:08 |
Line 328 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 328 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
fmt = lit = NULL; |
fmt = lit = NULL; |
|
|
switch (type) { |
switch (type) { |
|
case (ERR_SYNTAX_NOTEXT): |
|
lit = "syntax: context-free text disallowed"; |
|
break; |
case (ERR_SYNTAX_QUOTE): |
case (ERR_SYNTAX_QUOTE): |
lit = "syntax: disallowed argument quotation"; |
lit = "syntax: disallowed argument quotation"; |
break; |
break; |
Line 357 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 360 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
fmt = "scope: macro `%s' may not be nested in the current context"; |
fmt = "scope: macro `%s' may not be nested in the current context"; |
break; |
break; |
case (ERR_MACRO_NOTSUP): |
case (ERR_MACRO_NOTSUP): |
fmt = "macro `%s' not supported"; |
lit = "macro not supported"; |
break; |
break; |
case (ERR_MACRO_NOTCALL): |
case (ERR_MACRO_NOTCALL): |
fmt = "macro `%s' not callable"; |
fmt = "macro `%s' not callable"; |