diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 01:03:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 01:03:52 +0000 |
commit | b862a185d00afc5c08a5353e6bc4633818b058cc (patch) | |
tree | 712aa647f086a4f6ef629c3e09e859ea13d21122 /mandoc.h | |
parent | 586bd579d5085e1a046f1f463315281ff3f09037 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |