[BACK]Return to man.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man.c between version 1.134 and 1.135

version 1.134, 2018/12/31 10:03:38 version 1.135, 2019/01/05 00:36:46
Line 1 
Line 1 
 /*      $OpenBSD$ */  /*      $OpenBSD$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2013-2015, 2017-2019 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2011 Joerg Sonnenberger <joerg@netbsd.org>   * Copyright (c) 2011 Joerg Sonnenberger <joerg@netbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
Line 90 
Line 90 
         }          }
         if ( ! (man->flags & MAN_BLINE))          if ( ! (man->flags & MAN_BLINE))
                 return;                  return;
         man->flags &= ~MAN_BLINE;  
         man_unscope(man, man->last->parent);          man_unscope(man, man->last->parent);
         roff_body_alloc(man, line, offs, man->last->tok);          roff_body_alloc(man, line, offs, man->last->tok);
           man->flags &= ~(MAN_BLINE | ROFF_NONOFILL);
 }  }
   
 static int  static int
Line 266 
Line 266 
             man_macro(tok)->flags & MAN_NSCOPED)              man_macro(tok)->flags & MAN_NSCOPED)
                 return 1;                  return 1;
   
         man->flags &= ~MAN_BLINE;  
         man_unscope(man, man->last->parent);          man_unscope(man, man->last->parent);
         roff_body_alloc(man, ln, ppos, man->last->tok);          roff_body_alloc(man, ln, ppos, man->last->tok);
           man->flags &= ~(MAN_BLINE | ROFF_NONOFILL);
         return 1;          return 1;
 }  }
   
Line 311 
Line 311 
                 n = man->last;                  n = man->last;
                 man_unscope(man, n);                  man_unscope(man, n);
                 roff_body_alloc(man, n->line, n->pos, n->tok);                  roff_body_alloc(man, n->line, n->pos, n->tok);
                 man->flags &= ~MAN_BLINE;                  man->flags &= ~(MAN_BLINE | ROFF_NONOFILL);
         }          }
   
         /*          /*
Line 338 
Line 338 
                     "%s breaks %s", roff_name[tok], roff_name[n->tok]);                      "%s breaks %s", roff_name[tok], roff_name[n->tok]);
   
                 roff_node_delete(man, n);                  roff_node_delete(man, n);
                 man->flags &= ~MAN_BLINE;                  man->flags &= ~(MAN_BLINE | ROFF_NONOFILL);
         }          }
 }  }

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135