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

Diff for /mandoc/term.c between version 1.21 and 1.22

version 1.21, 2009/02/25 15:12:26 version 1.22, 2009/02/25 17:02:47
Line 17 
Line 17 
  * PERFORMANCE OF THIS SOFTWARE.   * PERFORMANCE OF THIS SOFTWARE.
  */   */
 #include <assert.h>  #include <assert.h>
   #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   
Line 148  DECL_PRE(termp_ox);
Line 149  DECL_PRE(termp_ox);
 DECL_PRE(termp_pa);  DECL_PRE(termp_pa);
 DECL_PRE(termp_pp);  DECL_PRE(termp_pp);
 DECL_PRE(termp_rv);  DECL_PRE(termp_rv);
   DECL_PRE(termp_sm);
 DECL_PRE(termp_st);  DECL_PRE(termp_st);
 DECL_PRE(termp_sx);  DECL_PRE(termp_sx);
 DECL_PRE(termp_sy);  DECL_PRE(termp_sy);
Line 248  const struct termact __termacts[MDOC_MAX] = {
Line 250  const struct termact __termacts[MDOC_MAX] = {
         { NULL, NULL }, /* Sc */          { NULL, NULL }, /* Sc */
         { termp_sq_pre, termp_sq_post }, /* So */          { termp_sq_pre, termp_sq_post }, /* So */
         { termp_sq_pre, termp_sq_post }, /* Sq */          { termp_sq_pre, termp_sq_post }, /* Sq */
         { NULL, NULL }, /* Sm */          { termp_sm_pre, NULL }, /* Sm */
         { termp_sx_pre, NULL }, /* Sx */          { termp_sx_pre, NULL }, /* Sx */
         { termp_sy_pre, NULL }, /* Sy */          { termp_sy_pre, NULL }, /* Sy */
         { NULL, NULL }, /* Tn */          { NULL, NULL }, /* Tn */
Line 1404  termp_ms_pre(DECL_ARGS)
Line 1406  termp_ms_pre(DECL_ARGS)
         return(1);          return(1);
 }  }
   
   
   
   /* ARGSUSED */
   static int
   termp_sm_pre(DECL_ARGS)
   {
   
   #if notyet
           assert(node->child);
           if (0 == strcmp("off", node->child->data.text.string)) {
                   p->flags &= ~TERMP_NONOSPACE;
                   p->flags &= ~TERMP_NOSPACE;
           } else {
                   p->flags |= TERMP_NONOSPACE;
                   p->flags |= TERMP_NOSPACE;
           }
   #endif
   
           return(0);
   }

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

CVSweb