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 | cc5eaab1fc61af7bb315ef9938831121ef7ad4bc (patch) | |
tree | f3ff3328cbe7d0600aa562a39ca6b2c7ae81cc37 /libmdoc.h | |
parent | 5ac5955e47f16a7b4767aa4bd138b6ad73e53760 (diff) | |
download | mandoc-cc5eaab1fc61af7bb315ef9938831121ef7ad4bc.tar.gz mandoc-cc5eaab1fc61af7bb315ef9938831121ef7ad4bc.tar.zst mandoc-cc5eaab1fc61af7bb315ef9938831121ef7ad4bc.zip |
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 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.63 2010/11/30 13:04:14 kristaps Exp $ */ +/* $Id: libmdoc.h,v 1.64 2011/03/17 01:23:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 *); |