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

Diff for /mandoc/mandoc.h between version 1.88 and 1.89

version 1.88, 2011/07/21 15:21:13 version 1.89, 2011/07/21 23:30:39
Line 114  enum mandocerr {
Line 114  enum mandocerr {
         MANDOCERR_EQNNEST, /* too many nested equation defines */          MANDOCERR_EQNNEST, /* too many nested equation defines */
         MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/          MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/
         MANDOCERR_EQNSCOPE, /* equation scope open on exit */          MANDOCERR_EQNSCOPE, /* equation scope open on exit */
           MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */
           MANDOCERR_EQNEOF, /* unexpected end of equation */
           MANDOCERR_EQNSYNT, /* equation syntax error */
   
         /* related to tables */          /* related to tables */
         MANDOCERR_TBL, /* bad table syntax */          MANDOCERR_TBL, /* bad table syntax */
Line 313  enum eqn_post {
Line 316  enum eqn_post {
         EQNPOS_SUB,          EQNPOS_SUB,
         EQNPOS_TO,          EQNPOS_TO,
         EQNPOS_FROM,          EQNPOS_FROM,
         EQNPOS_ABOVE,  
         EQNPOS__MAX          EQNPOS__MAX
 };  };
   
   enum    eqn_pilet {
           EQNPILE_NONE = 0,
           EQNPILE_CPILE,
           EQNPILE_RPILE,
           EQNPILE_LPILE,
           EQNPILE__MAX
   };
   
  /*   /*
  * A "box" is a parsed mathematical expression as defined by the eqn.7   * A "box" is a parsed mathematical expression as defined by the eqn.7
  * grammar.   * grammar.
Line 325  struct eqn_box {
Line 335  struct eqn_box {
         int               size; /* font size of expression */          int               size; /* font size of expression */
 #define EQN_DEFSIZE       INT_MIN  #define EQN_DEFSIZE       INT_MIN
         enum eqn_boxt     type; /* type of node */          enum eqn_boxt     type; /* type of node */
         struct eqn_box   *child; /* child node */          struct eqn_box   *first; /* first child node */
         struct eqn_box   *next; /* next in tree */          struct eqn_box   *last; /* last child node */
         enum eqn_post     pos; /* position of next box */          struct eqn_box   *next; /* node sibling */
           struct eqn_box   *parent; /* node sibling */
         char             *text; /* text (or NULL) */          char             *text; /* text (or NULL) */
           char             *left;
           char             *right;
           enum eqn_post     pos; /* position of next box */
         enum eqn_markt    mark; /* a mark about the box */          enum eqn_markt    mark; /* a mark about the box */
         enum eqn_fontt    font; /* font of box */          enum eqn_fontt    font; /* font of box */
           enum eqn_pilet    pile; /* equation piling */
           int               above; /* next node is above */
 };  };
   
 /*  /*
Line 391  void   *mandoc_calloc(size_t, size_t);
Line 407  void   *mandoc_calloc(size_t, size_t);
 void             *mandoc_malloc(size_t);  void             *mandoc_malloc(size_t);
 void             *mandoc_realloc(void *, size_t);  void             *mandoc_realloc(void *, size_t);
 char             *mandoc_strdup(const char *);  char             *mandoc_strdup(const char *);
   char             *mandoc_strndup(const char *, size_t);
   
 enum mandoc_esc   mandoc_escape(const char **, const char **, int *);  enum mandoc_esc   mandoc_escape(const char **, const char **, int *);
   

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb