[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.47 and 1.48

version 1.47, 2010/03/31 07:13:53 version 1.48, 2010/03/31 07:42:04
Line 538  rew_dobreak(enum mdoct tok, const struct mdoc_node *p)
Line 538  rew_dobreak(enum mdoct tok, const struct mdoc_node *p)
                         return(1);                          return(1);
                 break;                  break;
         case (MDOC_Oc):          case (MDOC_Oc):
 #ifdef UGLY  
                 if (MDOC_Op == p->tok)                  if (MDOC_Op == p->tok)
                         return(1);                          return(1);
 #endif  
                 break;                  break;
         default:          default:
                 break;                  break;
Line 881  blk_full(MACRO_PROT_ARGS)
Line 879  blk_full(MACRO_PROT_ARGS)
         int               c, la;          int               c, la;
         struct mdoc_arg  *arg;          struct mdoc_arg  *arg;
         struct mdoc_node *head; /* save of head macro */          struct mdoc_node *head; /* save of head macro */
   #ifdef  UGLY
         struct mdoc_node *n;          struct mdoc_node *n;
   #endif
         char             *p;          char             *p;
   
         /* Close out prior implicit scope. */          /* Close out prior implicit scope. */
Line 1102  blk_part_imp(MACRO_PROT_ARGS)
Line 1102  blk_part_imp(MACRO_PROT_ARGS)
                 body = m->last;                  body = m->last;
         }          }
   
 #ifdef  UGLY  
         /*          /*
          * If we can't rewind to our body, then our scope has already           * If we can't rewind to our body, then our scope has already
          * been closed by another macro (like `Oc' closing `Op').  This           * been closed by another macro (like `Oc' closing `Op').  This
Line 1112  blk_part_imp(MACRO_PROT_ARGS)
Line 1111  blk_part_imp(MACRO_PROT_ARGS)
         for (n = m->last; n; n = n->parent)          for (n = m->last; n; n = n->parent)
                 if (body == n)                  if (body == n)
                         break;                          break;
 #endif  
   
         if (NULL == n && ! mdoc_nwarn(m, body, EIMPBRK))          if (NULL == n && ! mdoc_nwarn(m, body, EIMPBRK))
                 return(0);                  return(0);

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

CVSweb