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

Diff for /mandoc/mdoc_man.c between version 1.94 and 1.95

version 1.94, 2015/10/06 18:32:19 version 1.95, 2015/10/12 00:08:15
Line 818  pre_syn(const struct roff_node *n)
Line 818  pre_syn(const struct roff_node *n)
   
         switch (n->prev->tok) {          switch (n->prev->tok) {
         case MDOC_Fd:          case MDOC_Fd:
                 /* FALLTHROUGH */  
         case MDOC_Fn:          case MDOC_Fn:
                 /* FALLTHROUGH */  
         case MDOC_Fo:          case MDOC_Fo:
                 /* FALLTHROUGH */  
         case MDOC_In:          case MDOC_In:
                 /* FALLTHROUGH */  
         case MDOC_Vt:          case MDOC_Vt:
                 outflags |= MMAN_sp;                  outflags |= MMAN_sp;
                 break;                  break;
Line 1375  pre_it(DECL_ARGS)
Line 1371  pre_it(DECL_ARGS)
                 case LIST_item:                  case LIST_item:
                         return 0;                          return 0;
                 case LIST_inset:                  case LIST_inset:
                         /* FALLTHROUGH */  
                 case LIST_diag:                  case LIST_diag:
                         /* FALLTHROUGH */  
                 case LIST_ohang:                  case LIST_ohang:
                         if (bln->norm->Bl.type == LIST_diag)                          if (bln->norm->Bl.type == LIST_diag)
                                 print_line(".B \"", 0);                                  print_line(".B \"", 0);
Line 1386  pre_it(DECL_ARGS)
Line 1380  pre_it(DECL_ARGS)
                         outflags &= ~MMAN_spc;                          outflags &= ~MMAN_spc;
                         return 1;                          return 1;
                 case LIST_bullet:                  case LIST_bullet:
                         /* FALLTHROUGH */  
                 case LIST_dash:                  case LIST_dash:
                         /* FALLTHROUGH */  
                 case LIST_hyphen:                  case LIST_hyphen:
                         print_width(&bln->norm->Bl, NULL);                          print_width(&bln->norm->Bl, NULL);
                         TPremain = 0;                          TPremain = 0;
Line 1478  post_it(DECL_ARGS)
Line 1470  post_it(DECL_ARGS)
         case ROFFT_BODY:          case ROFFT_BODY:
                 switch (bln->norm->Bl.type) {                  switch (bln->norm->Bl.type) {
                 case LIST_bullet:                  case LIST_bullet:
                         /* FALLTHROUGH */  
                 case LIST_dash:                  case LIST_dash:
                         /* FALLTHROUGH */  
                 case LIST_hyphen:                  case LIST_hyphen:
                         /* FALLTHROUGH */  
                 case LIST_enum:                  case LIST_enum:
                         /* FALLTHROUGH */  
                 case LIST_hang:                  case LIST_hang:
                         /* FALLTHROUGH */  
                 case LIST_tag:                  case LIST_tag:
                         assert(Bl_stack_len);                          assert(Bl_stack_len);
                         Bl_stack[--Bl_stack_len] = 0;                          Bl_stack[--Bl_stack_len] = 0;
Line 1600  post_nm(DECL_ARGS)
Line 1587  post_nm(DECL_ARGS)
                 outflags &= ~MMAN_Bk;                  outflags &= ~MMAN_Bk;
                 break;                  break;
         case ROFFT_HEAD:          case ROFFT_HEAD:
                 /* FALLTHROUGH */  
         case ROFFT_ELEM:          case ROFFT_ELEM:
                 if (n->child != NULL || meta->name != NULL)                  if (n->child != NULL || meta->name != NULL)
                         font_pop();                          font_pop();

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

CVSweb