[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.210 and 1.211

version 1.210, 2017/01/10 13:47:00 version 1.211, 2017/02/10 16:20:34
Line 575  blk_exp_close(MACRO_PROT_ARGS)
Line 575  blk_exp_close(MACRO_PROT_ARGS)
                 }                  }
   
                 /*                  /*
                  * Mismatching end macros can never break anything,                   * Mismatching end macros can never break anything
                  * SYNOPSIS name blocks can never be broken,  
                  * and we only care about the breaking of BLOCKs.                   * and we only care about the breaking of BLOCKs.
                  */                   */
   
                 if (body == NULL ||                  if (body == NULL || n->type != ROFFT_BLOCK)
                     n->tok == MDOC_Nm ||  
                     n->type != ROFFT_BLOCK)  
                         continue;                          continue;
   
                   /*
                    * SYNOPSIS name blocks can not be broken themselves,
                    * but they do get broken together with a broken child.
                    */
   
                   if (n->tok == MDOC_Nm) {
                           if (later != NULL)
                                   n->flags |= NODE_BROKEN | NODE_ENDED;
                           continue;
                   }
   
                 if (n->tok == MDOC_It) {                  if (n->tok == MDOC_It) {
                         itblk = n;                          itblk = n;
                         continue;                          continue;
Line 987  blk_full(MACRO_PROT_ARGS)
Line 995  blk_full(MACRO_PROT_ARGS)
   
                         /* Close out prior implicit scopes. */                          /* Close out prior implicit scopes. */
   
                         rew_last(mdoc, n);                          rew_pending(mdoc, n);
                 }                  }
   
                 /* Skip items outside lists. */                  /* Skip items outside lists. */

Legend:
Removed from v.1.210  
changed lines
  Added in v.1.211

CVSweb