[BACK]Return to mdoc.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc.h between version 1.75 and 1.78

version 1.75, 2010/05/09 21:19:42 version 1.78, 2010/05/13 06:22:11
Line 202  enum mdoc_sec {
Line 202  enum mdoc_sec {
         SEC_SYNOPSIS,          SEC_SYNOPSIS,
         SEC_DESCRIPTION,          SEC_DESCRIPTION,
         SEC_IMPLEMENTATION,          SEC_IMPLEMENTATION,
         SEC_EXIT_STATUS,  
         SEC_RETURN_VALUES,          SEC_RETURN_VALUES,
         SEC_ENVIRONMENT,          SEC_ENVIRONMENT,
         SEC_FILES,          SEC_FILES,
           SEC_EXIT_STATUS,
         SEC_EXAMPLES,          SEC_EXAMPLES,
         SEC_DIAGNOSTICS,          SEC_DIAGNOSTICS,
         SEC_COMPATIBILITY,          SEC_COMPATIBILITY,
Line 217  enum mdoc_sec {
Line 217  enum mdoc_sec {
         SEC_CAVEATS,          SEC_CAVEATS,
         SEC_BUGS,          SEC_BUGS,
         SEC_SECURITY,          SEC_SECURITY,
         SEC_CUSTOM              /* User-defined. */          SEC_CUSTOM,             /* User-defined. */
           SEC__MAX
 };  };
   
 /* Information from prologue. */  /* Information from prologue. */
Line 248  struct  mdoc_arg {
Line 249  struct  mdoc_arg {
   
 /* Node in AST. */  /* Node in AST. */
 struct  mdoc_node {  struct  mdoc_node {
         struct mdoc_node *parent;          struct mdoc_node *parent; /* parent AST node */
         struct mdoc_node *child;          struct mdoc_node *child; /* first child AST node */
         struct mdoc_node *next;          struct mdoc_node *next; /* sibling AST node */
         struct mdoc_node *prev;          struct mdoc_node *prev; /* prior sibling AST node */
         int               nchild;          int               nchild; /* number children */
         int               line;          int               line; /* parse line */
         int               pos;          int               pos; /* parse column */
         enum mdoct        tok;          enum mdoct        tok; /* tok or MDOC__MAX if none */
         int               flags;          int               flags;
 #define MDOC_VALID       (1 << 0)  #define MDOC_VALID       (1 << 0) /* has been validated */
 #define MDOC_ACTED       (1 << 1)  #define MDOC_ACTED       (1 << 1) /* has been acted upon */
         enum mdoc_type    type;  #define MDOC_EOS         (1 << 2) /* at sentence boundary */
         enum mdoc_sec     sec;  #define MDOC_LINE        (1 << 3) /* first macro/text on line */
           enum mdoc_type    type; /* AST node type */
           enum mdoc_sec     sec; /* current named section */
         struct mdoc_arg  *args;         /* BLOCK/ELEM */          struct mdoc_arg  *args;         /* BLOCK/ELEM */
 #ifdef  UGLY  #ifdef  UGLY
         struct mdoc_node *pending;      /* BLOCK */          struct mdoc_node *pending;      /* BLOCK */

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.78

CVSweb