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

Diff for /mandoc/mdoc.h between version 1.109 and 1.111

version 1.109, 2010/12/22 11:15:16 version 1.111, 2010/12/25 13:50:37
Line 353  struct mdoc_an {
Line 353  struct mdoc_an {
         enum mdoc_auth    auth; /* -split, etc. */          enum mdoc_auth    auth; /* -split, etc. */
 };  };
   
   struct  mdoc_rs {
           int               titlejournal; /* whether %T and %J */
   };
   
 /*  /*
  * Consists of normalised node arguments.  These should be used instead   * Consists of normalised node arguments.  These should be used instead
  * of iterating through the mdoc_arg pointers of a node: defaults are   * of iterating through the mdoc_arg pointers of a node: defaults are
Line 363  union mdoc_data {
Line 367  union mdoc_data {
         struct mdoc_bd    Bd;          struct mdoc_bd    Bd;
         struct mdoc_bf    Bf;          struct mdoc_bf    Bf;
         struct mdoc_bl    Bl;          struct mdoc_bl    Bl;
           struct mdoc_rs    Rs;
 };  };
   
 /*  
  * Reference-counted structure for containing normalised arguments of  
  * certain macros (those listed in union mdoc_data).  
  */  
 struct  mdoc_norm {  
         int               refcnt;  
         union mdoc_data   d;  
 };  
   
 /*  /*
  * Single node in tree-linked AST.   * Single node in tree-linked AST.
  */   */
Line 396  struct mdoc_node {
Line 392  struct mdoc_node {
 #define MDOC_ENDED       (1 << 5) /* rendering has been ended */  #define MDOC_ENDED       (1 << 5) /* rendering has been ended */
         enum mdoc_type    type; /* AST node type */          enum mdoc_type    type; /* AST node type */
         enum mdoc_sec     sec; /* current named section */          enum mdoc_sec     sec; /* current named section */
         struct mdoc_norm *norm; /* ref-counted, normalised args */          union mdoc_data  *norm; /* normalised args */
         /* FIXME: these can be union'd to shave a few bytes. */          /* FIXME: these can be union'd to shave a few bytes. */
         struct mdoc_arg  *args; /* BLOCK/ELEM */          struct mdoc_arg  *args; /* BLOCK/ELEM */
         struct mdoc_node *pending; /* BLOCK */          struct mdoc_node *pending; /* BLOCK */

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.111

CVSweb