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

Diff for /mandoc/eqn_term.c between version 1.1 and 1.3

version 1.1, 2011/07/22 10:50:46 version 1.3, 2011/07/23 22:57:13
Line 27 
Line 27 
 #include "out.h"  #include "out.h"
 #include "term.h"  #include "term.h"
   
 static void     eqn_box(struct termp *p, const struct eqn_box *);  static void     eqn_box(struct termp *, const struct eqn_box *);
 static void     eqn_box_post(struct termp *p, const struct eqn_box *);  static void     eqn_box_post(struct termp *, const struct eqn_box *);
 static void     eqn_box_pre(struct termp *p, const struct eqn_box *);  static void     eqn_box_pre(struct termp *, const struct eqn_box *);
 static void     eqn_text(struct termp *p, const struct eqn_box *);  static void     eqn_text(struct termp *, const struct eqn_box *);
   
 void  void
 term_eqn(struct termp *p, const struct eqn *ep)  term_eqn(struct termp *p, const struct eqn *ep)
Line 61  static void
Line 61  static void
 eqn_box_pre(struct termp *p, const struct eqn_box *bp)  eqn_box_pre(struct termp *p, const struct eqn_box *bp)
 {  {
   
         if (EQN_LIST == bp->type)  
                 term_word(p, "{");  
         if (bp->left)          if (bp->left)
                 term_word(p, bp->left);                  term_word(p, bp->left);
 }  }
Line 71  static void
Line 69  static void
 eqn_box_post(struct termp *p, const struct eqn_box *bp)  eqn_box_post(struct termp *p, const struct eqn_box *bp)
 {  {
   
         if (EQN_LIST == bp->type)  
                 term_word(p, "}");  
         if (bp->right)          if (bp->right)
                 term_word(p, bp->right);                  term_word(p, bp->right);
         if (bp->above)  
                 term_word(p, "|");  
 }  }
   
 static void  static void

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

CVSweb