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

Diff for /mandoc/mdoc.c between version 1.259 and 1.261

version 1.259, 2017/01/28 23:30:08 version 1.261, 2017/03/03 13:55:31
Line 136  mdoc_tail_alloc(struct roff_man *mdoc, int line, int p
Line 136  mdoc_tail_alloc(struct roff_man *mdoc, int line, int p
   
 struct roff_node *  struct roff_node *
 mdoc_endbody_alloc(struct roff_man *mdoc, int line, int pos, int tok,  mdoc_endbody_alloc(struct roff_man *mdoc, int line, int pos, int tok,
                 struct roff_node *body, enum mdoc_endbody end)                  struct roff_node *body)
 {  {
         struct roff_node *p;          struct roff_node *p;
   
Line 145  mdoc_endbody_alloc(struct roff_man *mdoc, int line, in
Line 145  mdoc_endbody_alloc(struct roff_man *mdoc, int line, in
         p = roff_node_alloc(mdoc, line, pos, ROFFT_BODY, tok);          p = roff_node_alloc(mdoc, line, pos, ROFFT_BODY, tok);
         p->body = body;          p->body = body;
         p->norm = body->norm;          p->norm = body->norm;
         p->end = end;          p->end = ENDBODY_SPACE;
         roff_node_append(mdoc, p);          roff_node_append(mdoc, p);
         mdoc->next = ROFF_NEXT_SIBLING;          mdoc->next = ROFF_NEXT_SIBLING;
         return p;          return p;
Line 382  mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, 
Line 382  mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, 
   
         /* Jump to the next non-whitespace word. */          /* Jump to the next non-whitespace word. */
   
         while (buf[offs] && ' ' == buf[offs])          while (buf[offs] == ' ')
                 offs++;                  offs++;
   
         /*          /*

Legend:
Removed from v.1.259  
changed lines
  Added in v.1.261

CVSweb