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

Diff for /mandoc/mandoc.h between version 1.83 and 1.84

version 1.83, 2011/07/21 11:34:53 version 1.84, 2011/07/21 12:30:44
Line 112  enum mandocerr {
Line 112  enum mandocerr {
         /* related to equations */          /* related to equations */
         MANDOCERR_EQNARGS, /* bad equation macro arguments */          MANDOCERR_EQNARGS, /* bad equation macro arguments */
         MANDOCERR_EQNNEST, /* too many nested equation defines */          MANDOCERR_EQNNEST, /* too many nested equation defines */
           MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/
           MANDOCERR_EQNSCOPE, /* equation scope open on exit */
   
         /* related to tables */          /* related to tables */
         MANDOCERR_TBL, /* bad table syntax */          MANDOCERR_TBL, /* bad table syntax */
Line 278  struct tbl_span {
Line 280  struct tbl_span {
 };  };
   
 enum    eqn_boxt {  enum    eqn_boxt {
         EQN_ROOT,          EQN_ROOT, /* root of parse tree */
         EQN_TEXT          EQN_TEXT, /* text (number, variable, whatever) */
           EQN_SUBEXPR /* nested subexpression */
 };  };
   
   /*
    * A "box" is a parsed mathematical expression as defined by the eqn.7
    * grammar.
    */
 struct  eqn_box {  struct  eqn_box {
         enum eqn_boxt     type;          enum eqn_boxt     type; /* type of node */
         struct eqn_box   *child;          struct eqn_box   *child; /* child node */
         struct eqn_box   *next;          struct eqn_box   *next; /* next in tree */
         char             *text;          char             *text; /* text (or NULL) */
 };  };
   
 struct  eqn {  struct  eqn {
         struct eqn_box   *root;          struct eqn_box   *root; /* root mathematical expression */
         int               ln; /* invocation line */          int               ln; /* invocation line */
         int               pos; /* invocation position */          int               pos; /* invocation position */
 };  };

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

CVSweb