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

Diff for /mandoc/mdoc_term.c between version 1.377 and 1.378

version 1.377, 2020/02/27 01:43:52 version 1.378, 2020/02/27 21:43:44
Line 117  static int   termp_pp_pre(DECL_ARGS);
Line 117  static int   termp_pp_pre(DECL_ARGS);
 static  int       termp_ss_pre(DECL_ARGS);  static  int       termp_ss_pre(DECL_ARGS);
 static  int       termp_sy_pre(DECL_ARGS);  static  int       termp_sy_pre(DECL_ARGS);
 static  int       termp_tag_pre(DECL_ARGS);  static  int       termp_tag_pre(DECL_ARGS);
 static  int       termp_tg_pre(DECL_ARGS);  
 static  int       termp_under_pre(DECL_ARGS);  static  int       termp_under_pre(DECL_ARGS);
 static  int       termp_vt_pre(DECL_ARGS);  static  int       termp_vt_pre(DECL_ARGS);
 static  int       termp_xr_pre(DECL_ARGS);  static  int       termp_xr_pre(DECL_ARGS);
Line 244  static const struct mdoc_term_act mdoc_term_acts[MDOC_
Line 243  static const struct mdoc_term_act mdoc_term_acts[MDOC_
         { NULL, termp____post }, /* %Q */          { NULL, termp____post }, /* %Q */
         { NULL, termp____post }, /* %U */          { NULL, termp____post }, /* %U */
         { NULL, NULL }, /* Ta */          { NULL, NULL }, /* Ta */
         { termp_tg_pre, NULL }, /* Tg */          { termp_skip_pre, NULL }, /* Tg */
 };  };
   
 static  int      fn_prio = TAG_STRONG;  static  int      fn_prio = TAG_STRONG;
Line 341  print_mdoc_node(DECL_ARGS)
Line 340  print_mdoc_node(DECL_ARGS)
         memset(&npair, 0, sizeof(struct termpair));          memset(&npair, 0, sizeof(struct termpair));
         npair.ppair = pair;          npair.ppair = pair;
   
           if (n->flags & NODE_ID)
                   tag_put(n->string == NULL ? n->child->string : n->string,
                       TAG_MANUAL, p->line);
   
         /*          /*
          * Keeps only work until the end of a line.  If a keep was           * Keeps only work until the end of a line.  If a keep was
          * invoked in a prior line, revert it to PREKEEP.           * invoked in a prior line, revert it to PREKEEP.
Line 2063  termp_tag_pre(DECL_ARGS)
Line 2066  termp_tag_pre(DECL_ARGS)
               n->parent->parent->parent->tok == MDOC_It)))                n->parent->parent->parent->tok == MDOC_It)))
                 tag_put(n->child->string, TAG_STRONG, p->line);                  tag_put(n->child->string, TAG_STRONG, p->line);
         return 1;          return 1;
 }  
   
 static int  
 termp_tg_pre(DECL_ARGS)  
 {  
         tag_put(n->child->string, TAG_MANUAL, p->line);  
         return 0;  
 }  }
   
 static int  static int

Legend:
Removed from v.1.377  
changed lines
  Added in v.1.378

CVSweb