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

Diff for /src/usr.bin/mandoc/tbl_layout.c between version 1.12 and 1.13

version 1.12, 2014/03/21 22:17:01 version 1.13, 2014/03/28 23:25:54
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2012, 2014 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 96 
Line 96 
         case (','):          case (','):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case ('.'):          case ('.'):
                   /* FALLTHROUGH */
           case ('|'):
                 return(1);                  return(1);
         default:          default:
                 break;                  break;
Line 213 
Line 215 
                 vert++;                  vert++;
         while (' ' == p[*pos])          while (' ' == p[*pos])
                 (*pos)++;                  (*pos)++;
   
           /* Handle trailing vertical lines */
   
           if ('.' == p[*pos] || '\0' == p[*pos]) {
                   rp->vert = vert;
                   return(1);
           }
   
         /* Parse the column position (`c', `l', `r', ...). */          /* Parse the column position (`c', `l', `r', ...). */
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13