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

Diff for /mandoc/Attic/mdoc_action.c between version 1.70 and 1.73

version 1.70, 2010/06/13 21:02:48 version 1.73, 2010/07/01 22:35:54
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * 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 32 
Line 32 
 #include "libmdoc.h"  #include "libmdoc.h"
 #include "libmandoc.h"  #include "libmandoc.h"
   
   /*
    * FIXME: this file is deprecated.  All future "actions" should be
    * pushed into mdoc_validate.c.
    */
   
 #define POST_ARGS struct mdoc *m, struct mdoc_node *n  #define POST_ARGS struct mdoc *m, struct mdoc_node *n
 #define PRE_ARGS  struct mdoc *m, struct mdoc_node *n  #define PRE_ARGS  struct mdoc *m, struct mdoc_node *n
   
Line 451  post_sh(POST_ARGS)
Line 456  post_sh(POST_ARGS)
          */           */
         if (SEC_NONE == m->lastnamed || SEC_CUSTOM != sec)          if (SEC_NONE == m->lastnamed || SEC_CUSTOM != sec)
                 m->lastnamed = sec;                  m->lastnamed = sec;
   
           /*
            * Switch the parser's SYNOPSIS mode, to be copied
            * into individual nodes when creating them.
            * Note that this mode can also be set and unset
            * using the roff nS register.
            */
           if (SEC_SYNOPSIS == sec)
                   m->flags |= MDOC_SYNOPSIS;
           else
                   m->flags &= ~MDOC_SYNOPSIS;
   
         /* Some sections only live in certain manual sections. */          /* Some sections only live in certain manual sections. */
   

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.73

CVSweb