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

Diff for /mandoc/mdoc_markdown.c between version 1.19 and 1.20

version 1.19, 2017/05/05 02:06:19 version 1.20, 2017/05/05 13:17:55
Line 19 
Line 19 
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  
 #include <string.h>  #include <string.h>
   
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
Line 226  static const struct md_act __md_acts[MDOC_MAX - MDOC_D
Line 225  static const struct md_act __md_acts[MDOC_MAX - MDOC_D
         { NULL, md_pre_Pp, NULL, NULL, NULL }, /* sp */          { NULL, md_pre_Pp, NULL, NULL, NULL }, /* sp */
         { NULL, md_pre_Lk, md_post_pc, NULL, NULL }, /* %U */          { NULL, md_pre_Lk, md_post_pc, NULL, NULL }, /* %U */
         { NULL, NULL, NULL, NULL, NULL }, /* Ta */          { NULL, NULL, NULL, NULL, NULL }, /* Ta */
         { NULL, NULL, NULL, NULL, NULL }, /* ll */  
 };  };
 static  const struct md_act *const md_acts = __md_acts - MDOC_Dd;  static  const struct md_act *const md_acts = __md_acts - MDOC_Dd;
   
Line 325  md_node(struct roff_node *n)
Line 323  md_node(struct roff_node *n)
                 case ROFF_br:                  case ROFF_br:
                         process_children = md_pre_br(n);                          process_children = md_pre_br(n);
                         break;                          break;
                 case ROFF_ft:                  default:
                         process_children = 0;                          process_children = 0;
                         break;                          break;
                 default:  
                         abort();  
                 }                  }
         } else {          } else {
                 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);                  assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

CVSweb