summaryrefslogtreecommitdiffstats
path: root/libmandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-07-18 17:00:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-07-18 17:00:26 +0000
commit0b38528b1ed620cf8afcbd2dc24687537a6d863f (patch)
tree55d6f8e4a7e3cfcba996cb4054255a17ae58b1b9 /libmandoc.h
parent29ae66f24ac7fa681d22a8d5315e2faf09350baf (diff)
downloadmandoc-0b38528b1ed620cf8afcbd2dc24687537a6d863f.tar.gz
Text ending in a full stop, exclamation mark or question mark
should not flag the end of a sentence if: 1) The punctuation is followed by closing delimiters and not preceded by alphanumeric characters, like in "There is no full stop (.) in this sentence" or 2) The punctuation is a child of a macro and not preceded by alphanumeric characters, like in "There is no full stop .Pq \&. in this sentence" "looks fine" to kristaps@; tested by jmc@ and sobrado@
Diffstat (limited to 'libmandoc.h')
-rw-r--r--libmandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmandoc.h b/libmandoc.h
index 35184b0c..5059e600 100644
--- a/libmandoc.h
+++ b/libmandoc.h
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -29,7 +29,7 @@ time_t mandoc_a2time(int, const char *);
#define MTIME_REDUCED (1 << 1)
#define MTIME_MDOCDATE (1 << 2)
#define MTIME_ISO_8601 (1 << 3)
-int mandoc_eos(const char *, size_t);
+int mandoc_eos(const char *, size_t, int);
int mandoc_hyph(const char *, const char *);
__END_DECLS