[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.63 and 1.64

version 1.63, 2014/04/20 19:40:13 version 1.64, 2014/07/02 03:48:07
Line 51  static void   post_bf(DECL_ARGS);
Line 51  static void   post_bf(DECL_ARGS);
 static  void      post_bk(DECL_ARGS);  static  void      post_bk(DECL_ARGS);
 static  void      post_bl(DECL_ARGS);  static  void      post_bl(DECL_ARGS);
 static  void      post_dl(DECL_ARGS);  static  void      post_dl(DECL_ARGS);
   static  void      post_en(DECL_ARGS);
 static  void      post_enc(DECL_ARGS);  static  void      post_enc(DECL_ARGS);
 static  void      post_eo(DECL_ARGS);  static  void      post_eo(DECL_ARGS);
 static  void      post_fa(DECL_ARGS);  static  void      post_fa(DECL_ARGS);
Line 78  static int   pre_bl(DECL_ARGS);
Line 79  static int   pre_bl(DECL_ARGS);
 static  int       pre_br(DECL_ARGS);  static  int       pre_br(DECL_ARGS);
 static  int       pre_bx(DECL_ARGS);  static  int       pre_bx(DECL_ARGS);
 static  int       pre_dl(DECL_ARGS);  static  int       pre_dl(DECL_ARGS);
   static  int       pre_en(DECL_ARGS);
 static  int       pre_enc(DECL_ARGS);  static  int       pre_enc(DECL_ARGS);
 static  int       pre_em(DECL_ARGS);  static  int       pre_em(DECL_ARGS);
   static  int       pre_es(DECL_ARGS);
 static  int       pre_fa(DECL_ARGS);  static  int       pre_fa(DECL_ARGS);
 static  int       pre_fd(DECL_ARGS);  static  int       pre_fd(DECL_ARGS);
 static  int       pre_fl(DECL_ARGS);  static  int       pre_fl(DECL_ARGS);
Line 150  static const struct manact manacts[MDOC_MAX + 1] = {
Line 153  static const struct manact manacts[MDOC_MAX + 1] = {
         { cond_head, pre_enc, NULL, "\\- ", NULL }, /* Nd */          { cond_head, pre_enc, NULL, "\\- ", NULL }, /* Nd */
         { NULL, pre_nm, post_nm, NULL, NULL }, /* Nm */          { NULL, pre_nm, post_nm, NULL, NULL }, /* Nm */
         { cond_body, pre_enc, post_enc, "[", "]" }, /* Op */          { cond_body, pre_enc, post_enc, "[", "]" }, /* Op */
         { NULL, NULL, NULL, NULL, NULL }, /* Ot */          { NULL, pre_ft, post_font, NULL, NULL }, /* Ot */
         { NULL, pre_em, post_font, NULL, NULL }, /* Pa */          { NULL, pre_em, post_font, NULL, NULL }, /* Pa */
         { NULL, pre_enc, post_enc, "The \\fB",          { NULL, pre_enc, post_enc, "The \\fB",
                 "\\fP\nfunction returns the value 0 if successful;\n"                  "\\fP\nfunction returns the value 0 if successful;\n"
Line 224  static const struct manact manacts[MDOC_MAX + 1] = {
Line 227  static const struct manact manacts[MDOC_MAX + 1] = {
         { NULL, NULL, NULL, NULL, NULL }, /* Ek */          { NULL, NULL, NULL, NULL, NULL }, /* Ek */
         { NULL, pre_ux, NULL, "is currently in beta test.", NULL }, /* Bt */          { NULL, pre_ux, NULL, "is currently in beta test.", NULL }, /* Bt */
         { NULL, NULL, NULL, NULL, NULL }, /* Hf */          { NULL, NULL, NULL, NULL, NULL }, /* Hf */
         { NULL, NULL, NULL, NULL, NULL }, /* Fr */          { NULL, pre_em, post_font, NULL, NULL }, /* Fr */
         { NULL, pre_ux, NULL, "currently under development.", NULL }, /* Ud */          { NULL, pre_ux, NULL, "currently under development.", NULL }, /* Ud */
         { NULL, NULL, post_lb, NULL, NULL }, /* Lb */          { NULL, NULL, post_lb, NULL, NULL }, /* Lb */
         { NULL, pre_pp, NULL, NULL, NULL }, /* Lp */          { NULL, pre_pp, NULL, NULL, NULL }, /* Lp */
Line 234  static const struct manact manacts[MDOC_MAX + 1] = {
Line 237  static const struct manact manacts[MDOC_MAX + 1] = {
         { cond_body, pre_enc, post_enc, "{", "}" }, /* Bro */          { cond_body, pre_enc, post_enc, "{", "}" }, /* Bro */
         { NULL, NULL, NULL, NULL, NULL }, /* Brc */          { NULL, NULL, NULL, NULL, NULL }, /* Brc */
         { NULL, NULL, post_percent, NULL, NULL }, /* %C */          { NULL, NULL, post_percent, NULL, NULL }, /* %C */
         { NULL, NULL, NULL, NULL, NULL }, /* Es */          { NULL, pre_es, NULL, NULL, NULL }, /* Es */
         { NULL, NULL, NULL, NULL, NULL }, /* En */          { cond_body, pre_en, post_en, NULL, NULL }, /* En */
         { NULL, pre_ux, NULL, "DragonFly", NULL }, /* Dx */          { NULL, pre_ux, NULL, "DragonFly", 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_br, NULL, NULL, NULL }, /* br */
Line 1035  pre_em(DECL_ARGS)
Line 1038  pre_em(DECL_ARGS)
         return(1);          return(1);
 }  }
   
   static int
   pre_en(DECL_ARGS)
   {
   
           if (NULL == n->norm->Es ||
               NULL == n->norm->Es->child)
                   return(1);
   
           print_word(n->norm->Es->child->string);
           outflags &= ~MMAN_spc;
           return(1);
   }
   
 static void  static void
   post_en(DECL_ARGS)
   {
   
           if (NULL == n->norm->Es ||
               NULL == n->norm->Es->child ||
               NULL == n->norm->Es->child->next)
                   return;
   
           outflags &= ~MMAN_spc;
           print_word(n->norm->Es->child->next->string);
           return;
   }
   
   static void
 post_eo(DECL_ARGS)  post_eo(DECL_ARGS)
 {  {
   
         if (MDOC_HEAD == n->type || MDOC_BODY == n->type)          if (MDOC_HEAD == n->type || MDOC_BODY == n->type)
                 outflags &= ~MMAN_spc;                  outflags &= ~MMAN_spc;
   }
   
   static int
   pre_es(DECL_ARGS)
   {
   
           return(0);
 }  }
   
 static int  static int

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

CVSweb