[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.30 and 1.31

version 1.30, 2009/08/13 11:43:24 version 1.31, 2009/08/19 11:58:32
Line 645  append_delims(struct mdoc *mdoc, int line, int *pos, c
Line 645  append_delims(struct mdoc *mdoc, int line, int *pos, c
                 assert(mdoc_isdelim(p));                  assert(mdoc_isdelim(p));
                 if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                  if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         return(1);          return(1);
Line 722  blk_exp_close(MACRO_PROT_ARGS)
Line 721  blk_exp_close(MACRO_PROT_ARGS)
   
                 if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                  if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         if ( ! flushed && ! rew_expblock(mdoc, tok, line, ppos))          if ( ! flushed && ! rew_expblock(mdoc, tok, line, ppos))
Line 852  in_line(MACRO_PROT_ARGS)
Line 850  in_line(MACRO_PROT_ARGS)
                         cnt++;                          cnt++;
                 if ( ! mdoc_word_alloc(mdoc, line, la, p))                  if ( ! mdoc_word_alloc(mdoc, line, la, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         if (0 == lastpunct && ! rew_elem(mdoc, tok))          if (0 == lastpunct && ! rew_elem(mdoc, tok))
Line 996  blk_full(MACRO_PROT_ARGS)
Line 993  blk_full(MACRO_PROT_ARGS)
                 if (MDOC_MAX == (c = lookup(mdoc, tok, p))) {                  if (MDOC_MAX == (c = lookup(mdoc, tok, p))) {
                         if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                          if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                                 return(0);                                  return(0);
                         mdoc->next = MDOC_NEXT_SIBLING;  
                         continue;                          continue;
                 }                  }
   
Line 1063  blk_part_imp(MACRO_PROT_ARGS)
Line 1059  blk_part_imp(MACRO_PROT_ARGS)
                 if (MDOC_MAX == (c = lookup(mdoc, tok, p))) {                  if (MDOC_MAX == (c = lookup(mdoc, tok, p))) {
                         if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                          if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                                 return(0);                                  return(0);
                         mdoc->next = MDOC_NEXT_SIBLING;  
                         continue;                          continue;
                 }                  }
   
Line 1191  blk_part_exp(MACRO_PROT_ARGS)
Line 1186  blk_part_exp(MACRO_PROT_ARGS)
   
                 if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                  if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         if ( ! flushed) {          if ( ! flushed) {
Line 1298  in_line_argn(MACRO_PROT_ARGS)
Line 1292  in_line_argn(MACRO_PROT_ARGS)
   
                 if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))                  if ( ! mdoc_word_alloc(mdoc, line, lastarg, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         if ( ! flushed && ! rew_elem(mdoc, tok))          if ( ! flushed && ! rew_elem(mdoc, tok))
Line 1366  in_line_eoln(MACRO_PROT_ARGS)
Line 1359  in_line_eoln(MACRO_PROT_ARGS)
   
                 if ( ! mdoc_word_alloc(mdoc, line, la, p))                  if ( ! mdoc_word_alloc(mdoc, line, la, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         return(rew_elem(mdoc, tok));          return(rew_elem(mdoc, tok));
Line 1414  phrase(struct mdoc *mdoc, int line, int ppos, char *bu
Line 1406  phrase(struct mdoc *mdoc, int line, int ppos, char *bu
   
                 if ( ! mdoc_word_alloc(mdoc, line, la, p))                  if ( ! mdoc_word_alloc(mdoc, line, la, p))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;  
         }          }
   
         return(1);          return(1);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

CVSweb