aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-28 17:32:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-28 17:32:07 +0000
commit67cfc20e20f4c603c852ddf5c88024ce0d8d628c (patch)
tree5e3c7114721eba342929a649511dbf5a94439d6c /libroff.h
parent7793230177d864fb80c0c572a2b896f3ecb7df10 (diff)
downloadmandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.tar.gz
mandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.tar.zst
mandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.zip
* Polish tbl(7) error reporting.
* Do not print out macro names in tbl(7) data blocks. * Like with GNU tbl, let empty tables cause a blank line. * Avoid producing empty tables in -Tman.
Diffstat (limited to 'libroff.h')
-rw-r--r--libroff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libroff.h b/libroff.h
index be2890a5..24286337 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.36 2015/01/28 15:03:45 schwarze Exp $ */
+/* $Id: libroff.h,v 1.37 2015/01/28 17:32:07 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -74,7 +74,7 @@ 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 **);
+int tbl_end(struct tbl_node **);
struct eqn_node *eqn_alloc(int, int, struct mparse *);
enum rofferr eqn_end(struct eqn_node **);
void eqn_free(struct eqn_node *);