[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.93 and 1.94

version 1.93, 2010/07/18 17:00:26 version 1.94, 2010/09/26 20:22:28
Line 207  mdoc_macroend(struct mdoc *m)
Line 207  mdoc_macroend(struct mdoc *m)
   
         n = MDOC_VALID & m->last->flags ?  m->last->parent : m->last;          n = MDOC_VALID & m->last->flags ?  m->last->parent : m->last;
   
         for ( ; n; n = n->parent) {          for ( ; n; n = n->parent)
                 if (MDOC_BLOCK != n->type)                  if (MDOC_BLOCK == n->type &&
                         continue;                      MDOC_EXPLICIT & mdoc_macros[n->tok].flags)
                 if ( ! (MDOC_EXPLICIT & mdoc_macros[n->tok].flags))                          mdoc_nmsg(m, n, MANDOCERR_SCOPEEXIT);
                         continue;  
                 mdoc_nmsg(m, n, MANDOCERR_SYNTSCOPE);  
                 return(0);  
         }  
   
         /* Rewind to the first. */          /* Rewind to the first. */
   

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

CVSweb