summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 09:16:38 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 09:16:38 +0000
commite3df96e26436bd256a2aa5a33e49f9166ff6d4b6 (patch)
tree45cda180303addde16f0252611e2e4f7c28a619d /libmdoc.h
parentb115f948b8e55e6c3cef4bfa81f62c190af37a59 (diff)
downloadmandoc-e3df96e26436bd256a2aa5a33e49f9166ff6d4b6.tar.gz
Move mdoc_isdelim() into mandoc.h as mandoc_isdelim(). This allows the
removal of manual delimiter checks in html.c and term.c. Finally, add the escaped period as a closing delimiter, removing a TODO to this effect.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 947254fb..372f5063 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -81,13 +81,6 @@ enum margverr {
ARGV_WORD
};
-enum mdelim {
- DELIM_NONE = 0,
- DELIM_OPEN,
- DELIM_MIDDLE,
- DELIM_CLOSE
-};
-
extern const struct mdoc_macro *const mdoc_macros;
__BEGIN_DECLS
@@ -114,8 +107,6 @@ int mdoc_endbody_alloc(struct mdoc *m, int line, int pos,
void mdoc_node_delete(struct mdoc *, struct mdoc_node *);
void mdoc_hash_init(void);
enum mdoct mdoc_hash_find(const char *);
-#define DELIMSZ 6 /* maximum size of a delimiter string */
-enum mdelim mdoc_isdelim(const char *);
size_t mdoc_isescape(const char *);
enum mdoc_sec mdoc_str2sec(const char *);
time_t mdoc_atotime(const char *);