From fcdb2b181c2abba92921b7909898488fbe4c74f7 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 28 Dec 2008 00:34:20 +0000 Subject: *** empty log message *** --- mdoc.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index fe77e844..c6c03d7b 100644 --- a/mdoc.h +++ b/mdoc.h @@ -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; }; -- cgit