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

Diff for /mandoc/mdoc_macro.c between version 1.114 and 1.116

version 1.114, 2012/01/02 15:48:05 version 1.116, 2012/05/27 17:39:28
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010 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
Line 994  blk_full(MACRO_PROT_ARGS)
Line 994  blk_full(MACRO_PROT_ARGS)
         enum margverr     av;          enum margverr     av;
         char             *p;          char             *p;
   
         /*  
          * Exception: `-diag' lists are not parsed, but lists in general  
          * are parsed.  
          */  
         nparsed = 0;  
         if (MDOC_It == tok && NULL != m->last &&  
                         MDOC_Bl == m->last->tok &&  
                         LIST_diag == m->last->norm->Bl.type)  
                 nparsed = 1;  
   
         nl = MDOC_NEWLINE & m->flags;          nl = MDOC_NEWLINE & m->flags;
   
         /* Close out prior implicit scope. */          /* Close out prior implicit scope. */
Line 1046  blk_full(MACRO_PROT_ARGS)
Line 1036  blk_full(MACRO_PROT_ARGS)
                 return(0);                  return(0);
   
         head = body = NULL;          head = body = NULL;
   
           /*
            * Exception: Heads of `It' macros in `-diag' lists are not
            * parsed, even though `It' macros in general are parsed.
            */
           nparsed = MDOC_It == tok &&
                   MDOC_Bl == m->last->parent->tok &&
                   LIST_diag == m->last->parent->norm->Bl.type;
   
         /*          /*
          * The `Nd' macro has all arguments in its body: it's a hybrid           * The `Nd' macro has all arguments in its body: it's a hybrid

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.116

CVSweb