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

Diff for /mandoc/term.c between version 1.55 and 1.57

version 1.55, 2009/03/12 06:32:17 version 1.57, 2009/03/12 16:30:50
Line 295  const struct termact __termacts[MDOC_MAX] = {
Line 295  const struct termact __termacts[MDOC_MAX] = {
         { termp_brq_pre, termp_brq_post }, /* Brq */          { termp_brq_pre, termp_brq_post }, /* Brq */
         { termp_brq_pre, termp_brq_post }, /* Bro */          { termp_brq_pre, termp_brq_post }, /* Bro */
         { NULL, NULL }, /* Brc */          { NULL, NULL }, /* Brc */
           { NULL, NULL }, /* %C */
 };  };
   
 const struct termact *termacts = __termacts;  const struct termact *termacts = __termacts;
Line 508  termp_it_pre(DECL_ARGS)
Line 509  termp_it_pre(DECL_ARGS)
                                 (&bl->args->argv[vals[2]], i);                                  (&bl->args->argv[vals[2]], i);
                 assert(i < (int)bl->args->argv[vals[2]].sz);                  assert(i < (int)bl->args->argv[vals[2]].sz);
                 width = arg_width(&bl->args->argv[vals[2]], i);                  width = arg_width(&bl->args->argv[vals[2]], i);
                   if (vals[1] >= 0)
                           offset += arg_offset(&bl->args->argv[vals[1]]);
                 break;                  break;
         default:          default:
                 if (vals[0] >= 0)                  if (vals[0] >= 0)
Line 836  termp_rv_pre(DECL_ARGS)
Line 839  termp_rv_pre(DECL_ARGS)
         p->flags |= ttypes[TTYPE_FUNC_NAME];          p->flags |= ttypes[TTYPE_FUNC_NAME];
         word(p, *node->args->argv[i].value);          word(p, *node->args->argv[i].value);
         p->flags &= ~ttypes[TTYPE_FUNC_NAME];          p->flags &= ~ttypes[TTYPE_FUNC_NAME];
           p->flags |= TERMP_NOSPACE;
   
         word(p, "() function returns the value 0 if successful;");          word(p, "() function returns the value 0 if successful;");
         word(p, "otherwise the value -1 is returned and the");          word(p, "otherwise the value -1 is returned and the");

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.57

CVSweb