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

Diff for /mandoc/mdoc_term.c between version 1.188 and 1.191

version 1.188, 2010/09/26 09:16:02 version 1.191, 2010/09/27 23:03:44
Line 81  static void   termp_lb_post(DECL_ARGS);
Line 81  static void   termp_lb_post(DECL_ARGS);
 static  void      termp_nm_post(DECL_ARGS);  static  void      termp_nm_post(DECL_ARGS);
 static  void      termp_pf_post(DECL_ARGS);  static  void      termp_pf_post(DECL_ARGS);
 static  void      termp_quote_post(DECL_ARGS);  static  void      termp_quote_post(DECL_ARGS);
 static  void      termp_quote_post(DECL_ARGS);  
 static  void      termp_sh_post(DECL_ARGS);  static  void      termp_sh_post(DECL_ARGS);
 static  void      termp_ss_post(DECL_ARGS);  static  void      termp_ss_post(DECL_ARGS);
   
Line 1578  termp_bd_pre(DECL_ARGS)
Line 1577  termp_bd_pre(DECL_ARGS)
   
         for (nn = n->child; nn; nn = nn->next) {          for (nn = n->child; nn; nn = nn->next) {
                 print_mdoc_node(p, pair, m, nn);                  print_mdoc_node(p, pair, m, nn);
                   /*
                    * If the printed node flushes its own line, then we
                    * needn't do it here as well.  This is hacky, but the
                    * notion of selective eoln whitespace is pretty dumb
                    * anyway, so don't sweat it.
                    */
                   switch (nn->tok) {
                   case (MDOC_br):
                           /* FALLTHROUGH */
                   case (MDOC_sp):
                           /* FALLTHROUGH */
                   case (MDOC_Bl):
                           /* FALLTHROUGH */
                   case (MDOC_Lp):
                           /* FALLTHROUGH */
                   case (MDOC_Pp):
                           continue;
                   default:
                           break;
                   }
                 if (nn->next && nn->next->line == nn->line)                  if (nn->next && nn->next->line == nn->line)
                         continue;                          continue;
                 term_flushln(p);                  term_flushln(p);
Line 1796  termp_sp_pre(DECL_ARGS)
Line 1815  termp_sp_pre(DECL_ARGS)
 }  }
   
   
   /* ARGSUSED */
 static int  static int
 termp_quote_pre(DECL_ARGS)  termp_quote_pre(DECL_ARGS)
 {  {
Line 1855  termp_quote_pre(DECL_ARGS)
Line 1875  termp_quote_pre(DECL_ARGS)
 }  }
   
   
   /* ARGSUSED */
 static void  static void
 termp_quote_post(DECL_ARGS)  termp_quote_post(DECL_ARGS)
 {  {

Legend:
Removed from v.1.188  
changed lines
  Added in v.1.191

CVSweb