[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.61 and 1.64

version 1.61, 2009/07/24 12:47:35 version 1.64, 2009/07/29 08:46:06
Line 674  fmt_block_vspace(struct termp *p, 
Line 674  fmt_block_vspace(struct termp *p, 
   
         if (MDOC_Bl == bl->tok && arg_hasattr(MDOC_Compact, bl))          if (MDOC_Bl == bl->tok && arg_hasattr(MDOC_Compact, bl))
                 return;                  return;
           assert(node);
   
         /*          /*
          * Search through our prior nodes.  If we follow a `Ss' or `Sh',           * Search through our prior nodes.  If we follow a `Ss' or `Sh',
Line 858  termp_it_pre(DECL_ARGS)
Line 859  termp_it_pre(DECL_ARGS)
   
         switch (type) {          switch (type) {
         case (MDOC_Diag):          case (MDOC_Diag):
                 term_word(p, "\\ \\ ");                  if (MDOC_BODY == node->type)
                           term_word(p, "\\ \\ ");
                 break;                  break;
         case (MDOC_Inset):          case (MDOC_Inset):
                 if (MDOC_BODY == node->type)                  if (MDOC_BODY == node->type)
Line 1396  termp_fd_post(DECL_ARGS)
Line 1398  termp_fd_post(DECL_ARGS)
 static int  static int
 termp_sh_pre(DECL_ARGS)  termp_sh_pre(DECL_ARGS)
 {  {
           /*
            * FIXME: using two `Sh' macros in sequence has no vspace
            * between calls, only a newline.
            */
         switch (node->type) {          switch (node->type) {
         case (MDOC_HEAD):          case (MDOC_HEAD):
                 term_vspace(p);                  term_vspace(p);

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.64

CVSweb