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

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

version 1.236, 2015/02/05 00:14:13 version 1.237, 2015/02/12 12:24:33
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010, 2012-2015 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 419  mdoc_endbody_alloc(struct mdoc *mdoc, int line, int po
Line 419  mdoc_endbody_alloc(struct mdoc *mdoc, int line, int po
 {  {
         struct mdoc_node *p;          struct mdoc_node *p;
   
           body->flags |= MDOC_ENDED;
           body->parent->flags |= MDOC_ENDED;
         p = node_alloc(mdoc, line, pos, tok, MDOC_BODY);          p = node_alloc(mdoc, line, pos, tok, MDOC_BODY);
         p->pending = body;          p->body = body;
         p->norm = body->norm;          p->norm = body->norm;
         p->end = end;          p->end = end;
         node_append(mdoc, p);          node_append(mdoc, p);

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

CVSweb