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

Diff for /mandoc/tbl_layout.c between version 1.24 and 1.25

version 1.24, 2014/03/23 11:25:26 version 1.25, 2014/03/28 23:26:25
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 100  mod:
Line 100  mod:
         case (','):          case (','):
                 /* FALLTHROUGH */                  /* FALLTHROUGH */
         case ('.'):          case ('.'):
                   /* FALLTHROUGH */
           case ('|'):
                 return(1);                  return(1);
         default:          default:
                 break;                  break;
Line 217  cell(struct tbl_node *tbl, struct tbl_row *rp, 
Line 219  cell(struct tbl_node *tbl, struct tbl_row *rp, 
                 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.24  
changed lines
  Added in v.1.25

CVSweb