summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-28 00:34:20 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-28 00:34:20 +0000
commitfcdb2b181c2abba92921b7909898488fbe4c74f7 (patch)
treeaaacf836b3b4440b7a1e10fdac28db76f316e779 /mdoc.h
parentb05d33f5306dfb39354bbb61d90e28aa7b902d3b (diff)
downloadmandoc-fcdb2b181c2abba92921b7909898488fbe4c74f7.tar.gz
*** empty log message ***
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h15
1 files changed, 11 insertions, 4 deletions
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;
};