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

Diff for /mandoc/man_macro.c between version 1.76 and 1.77

version 1.76, 2013/10/17 20:54:58 version 1.77, 2013/11/11 00:37:55
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) 2012 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2012, 2013 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 298  blk_close(MACRO_PROT_ARGS)
Line 298  blk_close(MACRO_PROT_ARGS)
                 if (ntok == nn->tok && MAN_BLOCK == nn->type)                  if (ntok == nn->tok && MAN_BLOCK == nn->type)
                         break;                          break;
   
         if (NULL != nn)          if (NULL == nn) {
                 man_unscope(man, nn, MANDOCERR_MAX);  
         else  
                 man_pmsg(man, line, ppos, MANDOCERR_NOSCOPE);                  man_pmsg(man, line, ppos, MANDOCERR_NOSCOPE);
                   if ( ! rew_scope(MAN_BLOCK, man, MAN_PP))
                           return(0);
           } else
                   man_unscope(man, nn, MANDOCERR_MAX);
   
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

CVSweb