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

Diff for /mandoc/mdoc.c between version 1.149 and 1.150

version 1.149, 2010/06/27 15:52:41 version 1.150, 2010/06/27 16:18:13
Line 192  mdoc_free(struct mdoc *mdoc)
Line 192  mdoc_free(struct mdoc *mdoc)
  * Allocate volatile and non-volatile parse resources.   * Allocate volatile and non-volatile parse resources.
  */   */
 struct mdoc *  struct mdoc *
 mdoc_alloc(const struct regset *regs,  mdoc_alloc(struct regset *regs, void *data,
                 void *data, int pflags, mandocmsg msg)                  int pflags, mandocmsg msg)
 {  {
         struct mdoc     *p;          struct mdoc     *p;
   
Line 368  node_alloc(struct mdoc *m, int line, int pos, 
Line 368  node_alloc(struct mdoc *m, int line, int pos, 
         p->pos = pos;          p->pos = pos;
         p->tok = tok;          p->tok = tok;
         p->type = type;          p->type = type;
   
           /* Flag analysis. */
   
         if (MDOC_NEWLINE & m->flags)          if (MDOC_NEWLINE & m->flags)
                 p->flags |= MDOC_LINE;                  p->flags |= MDOC_LINE;
         m->flags &= ~MDOC_NEWLINE;          m->flags &= ~MDOC_NEWLINE;
   
           /* Section analysis. */
   
           if (SEC_SYNOPSIS == p->sec)
                   p->flags |= MDOC_SYNPRETTY;
   
         return(p);          return(p);
 }  }
   

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.150

CVSweb