[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.44 and 1.45

version 1.44, 2017/07/08 14:51:01 version 1.45, 2018/04/11 17:10:35
Line 1 
Line 1 
 /*      $OpenBSD$ */  /*      $OpenBSD$ */
 /*  /*
  * 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 113 
Line 113 
         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 124 
Line 127 
   
         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 229 
Line 233 
         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 249 
Line 256 
   
         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.44  
changed lines
  Added in v.1.45