version 1.24, 2014/03/23 11:25:26 |
version 1.25, 2014/03/28 23:26:25 |
|
|
/* $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 |
|
|
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', ...). */ |
|
|