* mdocml: Remove delims from struct tbl (not used anywhere and never will
@ 2011-01-06 13:45 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-01-06 13:45 UTC (permalink / raw)
To: source
Log Message:
-----------
Remove delims from struct tbl (not used anywhere and never will be).
Modified Files:
--------------
mdocml:
mandoc.h
tbl_opts.c
Revision Data
-------------
Index: tbl_opts.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/tbl_opts.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -Ltbl_opts.c -Ltbl_opts.c -u -p -r1.5 -r1.6
--- tbl_opts.c
+++ tbl_opts.c
@@ -102,12 +102,12 @@ arg(struct tbl_node *tbl, int ln, const
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);
}
Index: mandoc.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -Lmandoc.h -Lmandoc.h -u -p -r1.48 -r1.49
--- mandoc.h
+++ mandoc.h
@@ -152,7 +152,6 @@ struct tbl {
char tab; /* cell-separator */
char decimal; /* decimal point */
int linesize;
- char delims[2]; /* FIXME: deprecate */
int opts;
#define TBL_OPT_CENTRE (1 << 0)
#define TBL_OPT_EXPAND (1 << 1)
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-06 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 13:45 mdocml: Remove delims from struct tbl (not used anywhere and never will kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).