version 1.34, 2011/01/10 15:31:00 |
version 1.36, 2011/01/25 12:07:30 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* 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 453 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, |
|
Line 453 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, |
|
case (TBL_CELL_NUMBER): |
case (TBL_CELL_NUMBER): |
tblcalc_number(tbl, col, tp, dp); |
tblcalc_number(tbl, col, tp, dp); |
break; |
break; |
|
case (TBL_CELL_DOWN): |
|
break; |
default: |
default: |
abort(); |
abort(); |
/* NOTREACHED */ |
/* NOTREACHED */ |
Line 483 tblcalc_literal(struct rofftbl *tbl, struct roffcol *c |
|
Line 485 tblcalc_literal(struct rofftbl *tbl, struct roffcol *c |
|
case (TBL_CELL_LONG): |
case (TBL_CELL_LONG): |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case (TBL_CELL_CENTRE): |
case (TBL_CELL_CENTRE): |
bufsz = (*tbl->len)(2, tbl->arg); |
bufsz = (*tbl->len)(1, tbl->arg); |
break; |
break; |
default: |
default: |
bufsz = (*tbl->len)(1, tbl->arg); |
bufsz = (*tbl->len)(1, tbl->arg); |