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

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

version 1.55, 2008/12/09 17:09:12 version 1.57, 2008/12/10 00:52:46
Line 704  roffspecial(struct rofftree *tree, int tok, const char
Line 704  roffspecial(struct rofftree *tree, int tok, const char
         case (ROFF_At):          case (ROFF_At):
                 if (0 == sz)                  if (0 == sz)
                         break;                          break;
                 if (ROFF_ATT_MAX == roff_att(*ordp))                  if (ROFF_ATT_MAX != roff_att(*ordp))
                         break;                          break;
                 return(roff_errp(tree, *ordp, tok, ERR_BADARG));                  return(roff_errp(tree, *ordp, tok, ERR_BADARG));
   
Line 1154  static int
Line 1154  static int
 roff_layout(ROFFCALL_ARGS)  roff_layout(ROFFCALL_ARGS)
 {  {
         int              i, c, argcp[ROFF_MAXLINEARG];          int              i, c, argcp[ROFF_MAXLINEARG];
         char            *argvp[ROFF_MAXLINEARG], *p;          char            *argvp[ROFF_MAXLINEARG];
   
         /*          /*
          * The roff_layout function is for multi-line macros.  A layout           * The roff_layout function is for multi-line macros.  A layout
Line 1180  roff_layout(ROFFCALL_ARGS) 
Line 1180  roff_layout(ROFFCALL_ARGS) 
                 return((*tree->cb.roffblkout)(tree->arg, tok));                  return((*tree->cb.roffblkout)(tree->arg, tok));
         }          }
   
           argv++;
         assert( ! (ROFF_CALLABLE & tokens[tok].flags));          assert( ! (ROFF_CALLABLE & tokens[tok].flags));
   
         p = *argv++;  
   
         if ( ! roffparseopts(tree, tok, &argv, argcp, argvp))          if ( ! roffparseopts(tree, tok, &argv, argcp, argvp))
                 return(0);                  return(0);

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

CVSweb