diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 09:16:38 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 09:16:38 +0000 |
commit | e3df96e26436bd256a2aa5a33e49f9166ff6d4b6 (patch) | |
tree | 45cda180303addde16f0252611e2e4f7c28a619d /libmdoc.h | |
parent | b115f948b8e55e6c3cef4bfa81f62c190af37a59 (diff) | |
download | mandoc-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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 *); |