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

Diff for /mandoc/mdoc_macro.c between version 1.231 and 1.232

version 1.231, 2019/01/01 07:42:04 version 1.232, 2019/01/07 07:26:29
Line 295  rew_pending(struct roff_man *mdoc, const struct roff_n
Line 295  rew_pending(struct roff_man *mdoc, const struct roff_n
                         case ROFFT_HEAD:                          case ROFFT_HEAD:
                                 roff_body_alloc(mdoc, n->line, n->pos,                                  roff_body_alloc(mdoc, n->line, n->pos,
                                     n->tok);                                      n->tok);
                                   if (n->tok == MDOC_Ss)
                                           mdoc->flags &= ~ROFF_NONOFILL;
                                 break;                                  break;
                         case ROFFT_BLOCK:                          case ROFFT_BLOCK:
                                 break;                                  break;
Line 1053  blk_full(MACRO_PROT_ARGS)
Line 1055  blk_full(MACRO_PROT_ARGS)
          * regular child nodes.           * regular child nodes.
          */           */
   
         if (tok == MDOC_Sh)          switch (tok) {
           case MDOC_Sh:
                 mdoc->flags &= ~ROFF_NOFILL;                  mdoc->flags &= ~ROFF_NOFILL;
                   break;
           case MDOC_Ss:
                   mdoc->flags |= ROFF_NONOFILL;
                   break;
           default:
                   break;
           }
         mdoc_argv(mdoc, line, tok, &arg, pos, buf);          mdoc_argv(mdoc, line, tok, &arg, pos, buf);
         blk = mdoc_block_alloc(mdoc, line, ppos, tok, arg);          blk = mdoc_block_alloc(mdoc, line, ppos, tok, arg);
         head = body = NULL;          head = body = NULL;
Line 1197  blk_full(MACRO_PROT_ARGS)
Line 1206  blk_full(MACRO_PROT_ARGS)
   
         rew_last(mdoc, head);          rew_last(mdoc, head);
         body = roff_body_alloc(mdoc, line, ppos, tok);          body = roff_body_alloc(mdoc, line, ppos, tok);
           if (tok == MDOC_Ss)
                   mdoc->flags &= ~ROFF_NONOFILL;
   
         /*          /*
          * Set up fill mode for display blocks.           * Set up fill mode for display blocks.

Legend:
Removed from v.1.231  
changed lines
  Added in v.1.232

CVSweb