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

Diff for /mandoc/tree.c between version 1.77 and 1.78

version 1.77, 2017/07/08 14:51:05 version 1.78, 2018/04/11 17:11:13
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 115  print_mdoc(const struct roff_node *n, int indent)
Line 115  print_mdoc(const struct roff_node *n, int indent)
         case ROFFT_TEXT:          case ROFFT_TEXT:
                 t = "text";                  t = "text";
                 break;                  break;
           case ROFFT_COMMENT:
                   t = "comment";
                   break;
         case ROFFT_TBL:          case ROFFT_TBL:
                 break;                  break;
         case ROFFT_EQN:          case ROFFT_EQN:
Line 126  print_mdoc(const struct roff_node *n, int indent)
Line 129  print_mdoc(const struct roff_node *n, int indent)
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_TEXT:          case ROFFT_TEXT:
           case ROFFT_COMMENT:
                 p = n->string;                  p = n->string;
                 break;                  break;
         case ROFFT_BODY:          case ROFFT_BODY:
Line 231  print_man(const struct roff_node *n, int indent)
Line 235  print_man(const struct roff_node *n, int indent)
         case ROFFT_TEXT:          case ROFFT_TEXT:
                 t = "text";                  t = "text";
                 break;                  break;
           case ROFFT_COMMENT:
                   t = "comment";
                   break;
         case ROFFT_BLOCK:          case ROFFT_BLOCK:
                 t = "block";                  t = "block";
                 break;                  break;
Line 251  print_man(const struct roff_node *n, int indent)
Line 258  print_man(const struct roff_node *n, int indent)
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_TEXT:          case ROFFT_TEXT:
           case ROFFT_COMMENT:
                 p = n->string;                  p = n->string;
                 break;                  break;
         case ROFFT_ELEM:          case ROFFT_ELEM:

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

CVSweb