From 5909cbca3fe375aeac1e2247b3f8edbaba32e56e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 25 May 2010 12:37:20 +0000 Subject: 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). --- libmandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmandoc.h') 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 * @@ -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 -- cgit v1.2.3