aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-25 01:03:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-25 01:03:52 +0000
commitb862a185d00afc5c08a5353e6bc4633818b058cc (patch)
tree712aa647f086a4f6ef629c3e09e859ea13d21122 /mandoc.h
parent586bd579d5085e1a046f1f463315281ff3f09037 (diff)
downloadmandoc-b862a185d00afc5c08a5353e6bc4633818b058cc.tar.gz
mandoc-b862a185d00afc5c08a5353e6bc4633818b058cc.tar.zst
mandoc-b862a185d00afc5c08a5353e6bc4633818b058cc.zip
integrate preconv(1) into mandoc(1);
enhances functionality and reduces code and docs by more than 300 lines
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index b7493f4b..48ebb655 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.164 2014/10/20 19:04:45 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.165 2014/10/25 01:03:52 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -393,6 +393,8 @@ struct eqn {
#define MPARSE_MAN 2 /* assume -man */
#define MPARSE_SO 4 /* honour .so requests */
#define MPARSE_QUICK 8 /* abort the parse early */
+#define MPARSE_UTF8 16 /* accept UTF-8 input */
+#define MPARSE_LATIN1 32 /* accept ISO-LATIN-1 input */
enum mandoc_esc {
ESCAPE_ERROR = 0, /* bail! unparsable escape */