diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-28 00:34:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-28 00:34:20 +0000 |
commit | fcdb2b181c2abba92921b7909898488fbe4c74f7 (patch) | |
tree | aaacf836b3b4440b7a1e10fdac28db76f316e779 /mdoc.h | |
parent | b05d33f5306dfb39354bbb61d90e28aa7b902d3b (diff) | |
download | mandoc-fcdb2b181c2abba92921b7909898488fbe4c74f7.tar.gz |
*** empty log message ***
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -192,17 +192,19 @@ #define MDOC_ARG_MAX 60 enum mdoc_err { - ERR_SYNTAX_QUOTE, + ERR_SYNTAX_QUOTE, /* NOTUSED */ ERR_SYNTAX_UNQUOTE, ERR_SYNTAX_WS, - ERR_SYNTAX_ARGS, - ERR_SYNTAX_BADARG, + ERR_SYNTAX_ARG, + ERR_SYNTAX_ARGFORM, ERR_SYNTAX_ARGVAL, + ERR_SYNTAX_ARGBAD, ERR_SYNTAX_ARGMANY, ERR_MACRO_NOTSUP, ERR_MACRO_NOTCALL, ERR_SCOPE_BREAK, ERR_SCOPE_NOCTX, + ERR_SCOPE_NONEST, ERR_SEC_PROLOGUE, ERR_SEC_NPROLOGUE, ERR_SEC_PROLOGUE_OO, @@ -215,9 +217,13 @@ enum mdoc_err { enum mdoc_warn { WARN_SYNTAX_WS_EOLN, WARN_SYNTAX_MACLIKE, + WARN_SYNTAX_ARGLIKE, + WARN_SYNTAX_QUOTED, + WARN_IGN_AFTER_BLK, + WARN_IGN_BEFORE_BLK, WARN_SEC_OO, WARN_ARGS_GE1, - WARN_SYNTAX_ARGLIKE + WARN_ARGS_EQ0, }; struct mdoc_arg { @@ -370,6 +376,7 @@ struct mdoc_node { struct mdoc_node *parent; struct mdoc_node *child; struct mdoc_node *next; + struct mdoc_node *prev; enum mdoc_type type; union mdoc_data data; }; |