aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_opts.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-06 13:45:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-06 13:45:47 +0000
commit40cde0918671af45575820608cdf0cf2aa1faa80 (patch)
treeda769b849acdb1c51adf2495553a0b731ce4e456 /tbl_opts.c
parent0f0e433b2f0750aa2e927e9e5a87cacec9c325bb (diff)
downloadmandoc-40cde0918671af45575820608cdf0cf2aa1faa80.tar.gz
mandoc-40cde0918671af45575820608cdf0cf2aa1faa80.tar.zst
mandoc-40cde0918671af45575820608cdf0cf2aa1faa80.zip
Remove delims from struct tbl (not used anywhere and never will be).
Diffstat (limited to 'tbl_opts.c')
-rw-r--r--tbl_opts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl_opts.c b/tbl_opts.c
index 8500b74d..06338970 100644
--- a/tbl_opts.c
+++ b/tbl_opts.c
@@ -1,4 +1,4 @@
-/* $Id: tbl_opts.c,v 1.5 2011/01/02 10:10:57 kristaps Exp $ */
+/* $Id: tbl_opts.c,v 1.6 2011/01/06 13:45:47 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -102,12 +102,12 @@ arg(struct tbl_node *tbl, int ln, const char *p, int *pos, int key)
switch (key) {
case (KEY_DELIM):
- if ('\0' == (tbl->opts.delims[0] = p[(*pos)++])) {
+ if ('\0' == p[(*pos)++]) {
TBL_MSG(tbl, MANDOCERR_TBL, ln, *pos - 1);
return(0);
}
- if ('\0' == (tbl->opts.delims[1] = p[(*pos)++])) {
+ if ('\0' == p[(*pos)++]) {
TBL_MSG(tbl, MANDOCERR_TBL, ln, *pos - 1);
return(0);
}