diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-25 12:37:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-25 12:37:20 +0000 |
commit | 5909cbca3fe375aeac1e2247b3f8edbaba32e56e (patch) | |
tree | 22379e2aa842475f26d517eadfe52749991a4340 /libmandoc.h | |
parent | 2aefdbffeeeeda1b600266dae034d7133292ad46 (diff) | |
download | mandoc-5909cbca3fe375aeac1e2247b3f8edbaba32e56e.tar.gz mandoc-5909cbca3fe375aeac1e2247b3f8edbaba32e56e.tar.zst mandoc-5909cbca3fe375aeac1e2247b3f8edbaba32e56e.zip |
Modified version of Ingo Schwarze's patch for hyphen-breaking.
Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted
upon in term.c or ignored in html.c.
Also cleaned up XML decl printing (no need for extra vars).
Diffstat (limited to 'libmandoc.h')
-rw-r--r-- | libmandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmandoc.h b/libmandoc.h index 7d31c84f..bdc119d4 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.5 2010/05/12 17:08:03 kristaps Exp $ */ +/* $Id: libmandoc.h,v 1.6 2010/05/25 12:37:20 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -30,6 +30,7 @@ time_t mandoc_a2time(int, const char *); #define MTIME_MDOCDATE (1 << 2) #define MTIME_ISO_8601 (1 << 3) int mandoc_eos(const char *, size_t); +int mandoc_hyph(const char *, const char *); __END_DECLS |