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

Diff for /mandoc/mdoc.c between version 1.237 and 1.238

version 1.237, 2015/02/12 12:24:33 version 1.238, 2015/02/12 13:00:52
Line 601  mdoc_ptext(struct mdoc *mdoc, int line, char *buf, int
Line 601  mdoc_ptext(struct mdoc *mdoc, int line, char *buf, int
          * process within its context in the normal way).           * process within its context in the normal way).
          */           */
   
         if (MDOC_Bl == n->tok && MDOC_BODY == n->type &&          if (n->tok == MDOC_Bl && n->type == MDOC_BODY &&
             LIST_column == n->norm->Bl.type) {              n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) {
                 /* `Bl' is open without any children. */                  /* `Bl' is open without any children. */
                 mdoc->flags |= MDOC_FREECOL;                  mdoc->flags |= MDOC_FREECOL;
                 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf);                  mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf);
Line 778  mdoc_pmacro(struct mdoc *mdoc, int ln, char *buf, int 
Line 778  mdoc_pmacro(struct mdoc *mdoc, int ln, char *buf, int 
          * context around the parsed macro.           * context around the parsed macro.
          */           */
   
         if (MDOC_Bl == n->tok && MDOC_BODY == n->type &&          if (n->tok == MDOC_Bl && n->type == MDOC_BODY &&
             LIST_column == n->norm->Bl.type) {              n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) {
                 mdoc->flags |= MDOC_FREECOL;                  mdoc->flags |= MDOC_FREECOL;
                 mdoc_macro(mdoc, MDOC_It, ln, sv, &sv, buf);                  mdoc_macro(mdoc, MDOC_It, ln, sv, &sv, buf);
                 return(1);                  return(1);

Legend:
Removed from v.1.237  
changed lines
  Added in v.1.238

CVSweb