diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-29 18:08:44 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-29 18:08:44 +0000 |
commit | f6c6b91bd1d5c314c866ec4cb71f4ff2573fc2f2 (patch) | |
tree | a95d3bfca3019187b4e9c8f2fe8f2bf34b87d385 /mdoc.h | |
parent | e4dec0e1c53e6a8d07ea4cba74a3aa831a90c034 (diff) | |
download | mandoc-f6c6b91bd1d5c314c866ec4cb71f4ff2573fc2f2.tar.gz |
More macros.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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, |