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

Diff for /mandoc/mdoc_man.c between version 1.109 and 1.110

version 1.109, 2017/04/24 23:06:18 version 1.110, 2017/05/04 17:48:29
Line 20 
Line 20 
   
 #include <assert.h>  #include <assert.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 238  static const struct manact __manacts[MDOC_MAX - MDOC_D
Line 239  static const struct manact __manacts[MDOC_MAX - MDOC_D
         { cond_body, pre_en, post_en, NULL, NULL }, /* En */          { cond_body, pre_en, post_en, NULL, NULL }, /* En */
         { NULL, NULL, NULL, NULL, NULL }, /* Dx */          { NULL, NULL, NULL, NULL, NULL }, /* Dx */
         { NULL, NULL, post_percent, NULL, NULL }, /* %Q */          { NULL, NULL, post_percent, NULL, NULL }, /* %Q */
         { NULL, pre_br, NULL, NULL, NULL }, /* br */  
         { NULL, pre_sp, post_sp, NULL, NULL }, /* sp */          { NULL, pre_sp, post_sp, NULL, NULL }, /* sp */
         { NULL, NULL, post_percent, NULL, NULL }, /* %U */          { NULL, NULL, post_percent, NULL, NULL }, /* %U */
         { NULL, NULL, NULL, NULL, NULL }, /* Ta */          { NULL, NULL, NULL, NULL, NULL }, /* Ta */
Line 651  print_node(DECL_ARGS)
Line 651  print_node(DECL_ARGS)
                         outflags &= ~(MMAN_spc | MMAN_spc_force);                          outflags &= ~(MMAN_spc | MMAN_spc_force);
                 else if (outflags & MMAN_Sm)                  else if (outflags & MMAN_Sm)
                         outflags |= MMAN_spc;                          outflags |= MMAN_spc;
           } else if (n->tok < ROFF_MAX) {
                   switch (n->tok) {
                   case ROFF_br:
                           pre_br(meta, n);
                           break;
                   default:
                           abort();
                   }
         } else {          } else {
                   assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX);
                 /*                  /*
                  * Conditionally run the pre-node action handler for a                   * Conditionally run the pre-node action handler for a
                  * node.                   * node.

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110

CVSweb