-/* $Id: mdoc.h,v 1.8 2008/12/29 18:08:44 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.13 2009/01/03 18:38:39 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
#define MDOC_svid4 57
#define MDOC_Filled 58
#define MDOC_Words 59
-#define MDOC_ARG_MAX 60
+#define MDOC_Emphasis 60
+#define MDOC_Symbolic 61
+#define MDOC_ARG_MAX 62
enum mdoc_err {
ERR_SYNTAX_QUOTE, /* NOTUSED */
ERR_SEC_PROLOGUE_REP,
ERR_SEC_NAME,
ERR_ARGS_EQ0,
+ ERR_ARGS_EQ1,
ERR_ARGS_GE1,
ERR_ARGS_LE2,
- ERR_ARGS_MANY
+ ERR_ARGS_MANY,
+ ERR_SYNTAX_CHILDHEAD,
+ ERR_SYNTAX_CHILDBODY,
+ ERR_SYNTAX_EMPTYBODY,
+ ERR_SYNTAX_EMPTYHEAD
};
enum mdoc_att {
WARN_SYNTAX_MACLIKE,
WARN_SYNTAX_ARGLIKE,
WARN_SYNTAX_QUOTED,
+ WARN_SYNTAX_EMPTYBODY,
WARN_IGN_AFTER_BLK,
WARN_IGN_BEFORE_BLK,
+ WARN_IGN_OBSOLETE,
WARN_SEC_OO,
WARN_ARGS_GE1,
WARN_ARGS_EQ0,