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

Diff for /mandoc/mdoc_state.c between version 1.10 and 1.13

version 1.10, 2018/08/17 20:33:38 version 1.13, 2018/12/31 04:55:47
Line 17 
Line 17 
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
   #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
Line 24 
Line 25 
 #include "roff.h"  #include "roff.h"
 #include "mdoc.h"  #include "mdoc.h"
 #include "libmandoc.h"  #include "libmandoc.h"
   #include "roff_int.h"
 #include "libmdoc.h"  #include "libmdoc.h"
   
 #define STATE_ARGS  struct roff_man *mdoc, struct roff_node *n  #define STATE_ARGS  struct roff_man *mdoc, struct roff_node *n
Line 175  mdoc_state(struct roff_man *mdoc, struct roff_node *n)
Line 177  mdoc_state(struct roff_man *mdoc, struct roff_node *n)
         handler = state_handlers[n->tok - MDOC_Dd];          handler = state_handlers[n->tok - MDOC_Dd];
         if (*handler)          if (*handler)
                 (*handler)(mdoc, n);                  (*handler)(mdoc, n);
 }  
   
 void  
 mdoc_state_reset(struct roff_man *mdoc)  
 {  
   
         roff_setreg(mdoc->roff, "nS", 0, '=');  
         mdoc->flags = 0;  
 }  }
   
 static void  static void

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.13

CVSweb