From b862a185d00afc5c08a5353e6bc4633818b058cc Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 25 Oct 2014 01:03:52 +0000 Subject: integrate preconv(1) into mandoc(1); enhances functionality and reduces code and docs by more than 300 lines --- mandoc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mandoc.h') 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 * Copyright (c) 2010-2014 Ingo Schwarze @@ -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 */ -- cgit v1.2.3