diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 01:23:28 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 01:23:28 +0000 |
commit | 684938dc1d7c8591d0b63657a1d36b25b24eaea8 (patch) | |
tree | 10a58e41eb97d1516b26419cab0bebf1ed50306c /libmdoc.h | |
parent | d44be71f515f8494313986bc8379bc35f75dc802 (diff) | |
download | mandoc-684938dc1d7c8591d0b63657a1d36b25b24eaea8.tar.gz |
Make args_checkpunct() use mdoc_isdelim() instead of mdoc_iscdelim(),
which is wrong. Then remove mdoc_iscdelim() alltogether.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ 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 *); -enum mdelim mdoc_iscdelim(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 *); |