version 1.27, 2008/12/28 23:07:04 |
version 1.29, 2008/12/29 19:25:29 |
Line 339 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 339 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
case (ERR_SYNTAX_ARGFORM): |
case (ERR_SYNTAX_ARGFORM): |
fmt = "syntax: macro `%s' arguments malformed"; |
fmt = "syntax: macro `%s' arguments malformed"; |
break; |
break; |
|
case (ERR_SYNTAX_NOPUNCT): |
|
fmt = "syntax: macro `%s' doesn't understand punctuation"; |
|
break; |
case (ERR_SYNTAX_ARG): |
case (ERR_SYNTAX_ARG): |
fmt = "syntax: unknown argument for macro `%s'"; |
fmt = "syntax: unknown argument for macro `%s'"; |
break; |
break; |
Line 364 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
Line 367 msg_err(void *arg, int tok, int col, enum mdoc_err typ |
|
case (ERR_SEC_NPROLOGUE): |
case (ERR_SEC_NPROLOGUE): |
fmt = "macro `%s' called outside of prologue"; |
fmt = "macro `%s' called outside of prologue"; |
break; |
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): |
case (ERR_ARGS_GE1): |
fmt = "macro `%s' expects one or more arguments"; |
fmt = "macro `%s' expects one or more arguments"; |
|
break; |
|
case (ERR_ARGS_LE2): |
|
fmt = "macro `%s' expects two or fewer arguments"; |
break; |
break; |
case (ERR_ARGS_MANY): |
case (ERR_ARGS_MANY): |
fmt = "macro `%s' has too many arguments"; |
fmt = "macro `%s' has too many arguments"; |