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

Diff for /mandoc/term.h between version 1.6 and 1.13

version 1.6, 2009/02/25 12:09:20 version 1.13, 2009/03/02 12:09:32
Line 21 
Line 21 
   
 #include "mdoc.h"  #include "mdoc.h"
   
   #define INDENT            6
   
 __BEGIN_DECLS  __BEGIN_DECLS
   
 struct  termp {  struct  termp {
Line 37  struct termp {
Line 39  struct termp {
 #define TERMP_NOBREAK    (1 << 4)       /* No break after flush. */  #define TERMP_NOBREAK    (1 << 4)       /* No break after flush. */
 #define TERMP_LITERAL    (1 << 5)       /* Literal words. */  #define TERMP_LITERAL    (1 << 5)       /* Literal words. */
 #define TERMP_IGNDELIM   (1 << 6)       /* Delims like regulars. */  #define TERMP_IGNDELIM   (1 << 6)       /* Delims like regulars. */
   #define TERMP_NONOSPACE  (1 << 7)       /* No space (no autounset). */
         char             *buf;          char             *buf;
 };  };
   
 struct  termpair {  struct  termpair {
           struct termpair  *ppair;
         int               type;          int               type;
 #define TERMPAIR_FLAG    (1 << 0)  #define TERMPAIR_FLAG    (1 << 0)
         union {          int               flag;
                 int       flag;          size_t            offset;
         } data;          size_t            rmargin;
           int               count;
 };  };
   
 #define TERMPAIR_SETFLAG(p, fl) \  #define TERMPAIR_SETFLAG(termp, p, fl) \
         do { \          do { \
                 (p)->data.flag = (fl); \                  assert(! (TERMPAIR_FLAG & (p)->type)); \
                 (p)->type = TERMPAIR_FLAG; \                  (termp)->flags |= (fl); \
                   (p)->flag = (fl); \
                   (p)->type |= TERMPAIR_FLAG; \
         } while (0)          } while (0)
   
 struct  termact {  struct  termact {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.13

CVSweb