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

Diff for /src/usr.bin/mandoc/tree.c between version 1.16 and 1.17

version 1.16, 2011/09/18 10:25:28 version 1.17, 2013/05/18 17:08:09
Line 54 
Line 54 
 {  {
         const char       *p, *t;          const char       *p, *t;
         int               i, j;          int               i, j;
         size_t            argc, sz;          size_t            argc;
         char            **params;  
         struct mdoc_argv *argv;          struct mdoc_argv *argv;
   
         argv = NULL;          argv = NULL;
         argc = sz = 0;          argc = 0;
         params = NULL;  
         t = p = NULL;          t = p = NULL;
   
         switch (n->type) {          switch (n->type) {
Line 158 
Line 156 
                                 printf(" ]");                                  printf(" ]");
                 }                  }
   
                 for (i = 0; i < (int)sz; i++)  
                         printf(" [%s]", params[i]);  
   
                 printf(" %d:%d\n", n->line, n->pos);                  printf(" %d:%d\n", n->line, n->pos);
         }          }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17