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

Diff for /mandoc/tree.c between version 1.53 and 1.56

version 1.53, 2014/07/02 07:10:38 version 1.56, 2014/10/10 08:44:24
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
   #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <limits.h>  #include <limits.h>
 #include <stdio.h>  #include <stdio.h>
Line 275  print_box(const struct eqn_box *ep, int indent)
Line 275  print_box(const struct eqn_box *ep, int indent)
         case EQN_ROOT:          case EQN_ROOT:
                 t = "eqn-root";                  t = "eqn-root";
                 break;                  break;
           case EQN_LISTONE:
         case EQN_LIST:          case EQN_LIST:
                 t = "eqn-list";                  t = "eqn-list";
                 break;                  break;
Line 284  print_box(const struct eqn_box *ep, int indent)
Line 285  print_box(const struct eqn_box *ep, int indent)
         case EQN_TEXT:          case EQN_TEXT:
                 t = "eqn-text";                  t = "eqn-text";
                 break;                  break;
           case EQN_PILE:
                   t = "eqn-pile";
                   break;
         case EQN_MATRIX:          case EQN_MATRIX:
                 t = "eqn-matrix";                  t = "eqn-matrix";
                 break;                  break;
         }          }
   
         assert(t);          assert(t);
         printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n",          printf("%s(size=%d, args=%zu(%zu), pos=%d, font=%d, pile=%d, l=\"%s\", r=\"%s\") %s\n",
             t, EQN_DEFSIZE == ep->size ? 0 : ep->size,              t, EQN_DEFSIZE == ep->size ? 0 : ep->size,
             ep->pos + 1, ep->font, ep->mark, ep->pile,              ep->args, ep->expectargs,
               ep->pos, ep->font, ep->pile,
             ep->left ? ep->left : "",              ep->left ? ep->left : "",
             ep->right ? ep->right : "",              ep->right ? ep->right : "",
             ep->text ? ep->text : "");              ep->text ? ep->text : "");

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.56

CVSweb