[BACK]Return to mdoc_term.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_term.c between version 1.109 and 1.110

version 1.109, 2010/10/01 21:38:26 version 1.110, 2010/10/16 13:38:29
Line 30 
Line 30 
 #include "mdoc.h"  #include "mdoc.h"
 #include "chars.h"  #include "chars.h"
 #include "main.h"  #include "main.h"
   #include "tbl.h"
   
 #define INDENT            5  #define INDENT            5
 #define HALFINDENT        3  #define HALFINDENT        3
Line 113 
Line 114 
 static  int       termp_sm_pre(DECL_ARGS);  static  int       termp_sm_pre(DECL_ARGS);
 static  int       termp_sp_pre(DECL_ARGS);  static  int       termp_sp_pre(DECL_ARGS);
 static  int       termp_ss_pre(DECL_ARGS);  static  int       termp_ss_pre(DECL_ARGS);
   static  int       termp_ts_pre(DECL_ARGS);
 static  int       termp_under_pre(DECL_ARGS);  static  int       termp_under_pre(DECL_ARGS);
 static  int       termp_ud_pre(DECL_ARGS);  static  int       termp_ud_pre(DECL_ARGS);
 static  int       termp_vt_pre(DECL_ARGS);  static  int       termp_vt_pre(DECL_ARGS);
Line 242 
Line 244 
         { termp_sp_pre, NULL }, /* sp */          { termp_sp_pre, NULL }, /* sp */
         { termp_under_pre, termp____post }, /* %U */          { termp_under_pre, termp____post }, /* %U */
         { NULL, NULL }, /* Ta */          { NULL, NULL }, /* Ta */
           { termp_ts_pre, NULL }, /* TS */
           { NULL, NULL }, /* TE */
 };  };
   
   
Line 2083 
Line 2087 
         term_fontpush(p, TERMFONT_BOLD);          term_fontpush(p, TERMFONT_BOLD);
         term_word(p, sv->string);          term_word(p, sv->string);
         term_fontpop(p);          term_fontpop(p);
   
           return(0);
   }
   
   
   /* ARGSUSED */
   static int
   termp_ts_pre(DECL_ARGS)
   {
   
           if (MDOC_BLOCK != n->type)
                   return(0);
   
           if ( ! tbl_close(p, n->data.TS, "<mdoc>", n->line))
                   return(0);
   
           tbl_write(p, n->data.TS);
   
         return(0);          return(0);
 }  }

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