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

Diff for /mandoc/term.c between version 1.46 and 1.47

version 1.46, 2009/03/08 14:01:46 version 1.47, 2009/03/08 19:38:08
Line 120  DECL_PREPOST(termp_fo);
Line 120  DECL_PREPOST(termp_fo);
 DECL_PREPOST(termp_ft);  DECL_PREPOST(termp_ft);
 DECL_PREPOST(termp_in);  DECL_PREPOST(termp_in);
 DECL_PREPOST(termp_it);  DECL_PREPOST(termp_it);
   DECL_PREPOST(termp_lb);
 DECL_PREPOST(termp_op);  DECL_PREPOST(termp_op);
 DECL_PREPOST(termp_pf);  DECL_PREPOST(termp_pf);
 DECL_PREPOST(termp_pq);  DECL_PREPOST(termp_pq);
Line 164  DECL_PRE(termp_xr);
Line 165  DECL_PRE(termp_xr);
 DECL_POST(termp___);  DECL_POST(termp___);
 DECL_POST(termp_bl);  DECL_POST(termp_bl);
 DECL_POST(termp_bx);  DECL_POST(termp_bx);
 DECL_POST(termp_lb);  
   
 const   struct termact __termacts[MDOC_MAX] = {  const   struct termact __termacts[MDOC_MAX] = {
         { NULL, NULL }, /* \" */          { NULL, NULL }, /* \" */
Line 273  const struct termact __termacts[MDOC_MAX] = {
Line 273  const struct termact __termacts[MDOC_MAX] = {
         { NULL, NULL }, /* Hf */          { NULL, NULL }, /* Hf */
         { NULL, NULL }, /* Fr */          { NULL, NULL }, /* Fr */
         { termp_ud_pre, NULL }, /* Ud */          { termp_ud_pre, NULL }, /* Ud */
         { NULL, termp_lb_post }, /* lb */          { termp_lb_pre, termp_lb_post }, /* Lb */
 };  };
   
 const struct termact *termacts = __termacts;  const struct termact *termacts = __termacts;
Line 965  termp_bt_pre(DECL_ARGS)
Line 965  termp_bt_pre(DECL_ARGS)
 {  {
   
         word(p, "is currently in beta test.");          word(p, "is currently in beta test.");
           return(1);
   }
   
   
   /* ARGSUSED */
   static int
   termp_lb_pre(DECL_ARGS)
   {
           const char      *lb;
   
           if (NULL == node->child)
                   errx(1, "expected text line argument");
           if (MDOC_TEXT != node->child->type)
                   errx(1, "expected text line argument");
   
           if ((lb = mdoc_a2lib(node->child->string))) {
                   word(p, lb);
                   return(0);
           }
   
           word(p, "library");
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

CVSweb