aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-28 15:03:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-28 15:03:45 +0000
commit7793230177d864fb80c0c572a2b896f3ecb7df10 (patch)
tree9200fdac5fa9fae03f349e62032d6041b10d54d3 /libroff.h
parentc49d930f6dcda366d67ac4b3bad9cc05ac3bc954 (diff)
downloadmandoc-7793230177d864fb80c0c572a2b896f3ecb7df10.tar.gz
mandoc-7793230177d864fb80c0c572a2b896f3ecb7df10.tar.zst
mandoc-7793230177d864fb80c0c572a2b896f3ecb7df10.zip
For now, it can't be helped that mandoc tbl(7) ignores high-level macros,
but stop throwing away their arguments. This fixes information loss in a handful of Xenocara manuals, at the price of a small amount of formatting noise creeping through.
Diffstat (limited to 'libroff.h')
-rw-r--r--libroff.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libroff.h b/libroff.h
index ca1bcf6f..be2890a5 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,7 +1,7 @@
-/* $Id: libroff.h,v 1.35 2015/01/21 00:47:04 schwarze Exp $ */
+/* $Id: libroff.h,v 1.36 2015/01/28 15:03:45 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -69,10 +69,10 @@ void tbl_restart(int, int, struct tbl_node *);
void tbl_free(struct tbl_node *);
void tbl_reset(struct tbl_node *);
enum rofferr tbl_read(struct tbl_node *, int, const char *, int);
-void tbl_option(struct tbl_node *, int, const char *);
-void tbl_layout(struct tbl_node *, int, const char *);
-void tbl_data(struct tbl_node *, int, const char *);
-int tbl_cdata(struct tbl_node *, int, const char *);
+void tbl_option(struct tbl_node *, int, const char *, int *);
+void tbl_layout(struct tbl_node *, int, const char *, int);
+void tbl_data(struct tbl_node *, int, const char *, int);
+int tbl_cdata(struct tbl_node *, int, const char *, int);
const struct tbl_span *tbl_span(struct tbl_node *);
void tbl_end(struct tbl_node **);
struct eqn_node *eqn_alloc(int, int, struct mparse *);