From f6c6b91bd1d5c314c866ec4cb71f4ff2573fc2f2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 29 Dec 2008 18:08:44 +0000 Subject: More macros. --- mdoc.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index 9dcbd89e..d327caa8 100644 --- a/mdoc.h +++ b/mdoc.h @@ -194,6 +194,7 @@ enum mdoc_err { ERR_SYNTAX_QUOTE, /* NOTUSED */ ERR_SYNTAX_UNQUOTE, + ERR_SYNTAX_NOPUNCT, ERR_SYNTAX_WS, ERR_SYNTAX_ARG, ERR_SYNTAX_ARGFORM, @@ -210,10 +211,28 @@ enum mdoc_err { ERR_SEC_PROLOGUE_OO, ERR_SEC_PROLOGUE_REP, ERR_SEC_NAME, + ERR_ARGS_EQ0, ERR_ARGS_GE1, + ERR_ARGS_LE2, ERR_ARGS_MANY }; +enum mdoc_att { + ATT_DEFAULT = 0, + ATT_v1, + ATT_v2, + ATT_v3, + ATT_v4, + ATT_v5, + ATT_v6, + ATT_v7, + ATT_32v, + ATT_V1, + ATT_V2, + ATT_V3, + ATT_V4 +}; + enum mdoc_warn { WARN_SYNTAX_WS_EOLN, WARN_SYNTAX_MACLIKE, -- cgit