aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-25 15:37:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-25 15:37:00 +0000
commit499b7cc2df175e8f1cd3a0a7db00455e691d03de (patch)
tree356638e94fe0111d12f3ef9b7f7b8f40bbc92cdb /libroff.h
parenta36c339dbe615061842578e7f9191193481618c1 (diff)
downloadmandoc-499b7cc2df175e8f1cd3a0a7db00455e691d03de.tar.gz
mandoc-499b7cc2df175e8f1cd3a0a7db00455e691d03de.tar.zst
mandoc-499b7cc2df175e8f1cd3a0a7db00455e691d03de.zip
Implement the first steps of equation parsing from within libmdoc.
This consists of a shim around the text parser that calls out to libroff if equation components exist on the line. Right now this will do nothing, as the equation delimiter always returns nil.
Diffstat (limited to 'libroff.h')
-rw-r--r--libroff.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libroff.h b/libroff.h
index da4c39ec..0bdd5a36 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.26 2011/07/23 18:41:18 kristaps Exp $ */
+/* $Id: libroff.h,v 1.27 2011/07/25 15:37:00 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -72,9 +72,9 @@ int tbl_layout(struct tbl_node *, int, const char *);
int tbl_data(struct tbl_node *, int, const char *);
int tbl_cdata(struct tbl_node *, int, const char *);
const struct tbl_span *tbl_span(struct tbl_node *);
-void tbl_end(struct tbl_node *);
+void tbl_end(struct tbl_node **);
struct eqn_node *eqn_alloc(const char *, int, int, struct mparse *);
-enum rofferr eqn_end(struct eqn_node *);
+enum rofferr eqn_end(struct eqn_node **);
void eqn_free(struct eqn_node *);
enum rofferr eqn_read(struct eqn_node **, int,
const char *, int, int *);