=================================================================== RCS file: /cvs/mandoc/Attic/libmdocml.h,v retrieving revision 1.12 retrieving revision 1.14 diff -u -p -r1.12 -r1.14 --- mandoc/Attic/libmdocml.h 2008/12/04 11:25:29 1.12 +++ mandoc/Attic/libmdocml.h 2008/12/10 14:42:46 1.14 @@ -1,4 +1,4 @@ -/* $Id: libmdocml.h,v 1.12 2008/12/04 11:25:29 kristaps Exp $ */ +/* $Id: libmdocml.h,v 1.14 2008/12/10 14:42:46 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -21,10 +21,6 @@ #include -struct md_params_xml { - int dummy; -}; - struct md_params_html { char *css; int flags; @@ -32,13 +28,13 @@ struct md_params_html { }; union md_params { - struct md_params_xml xml; struct md_params_html html; }; enum md_type { MD_XML, /* XML. */ - MD_HTML /* HTML4.01-strict. */ + MD_HTML, /* HTML4.01-strict. */ + MD_NOOP /* Validates only. */ }; struct md_args { @@ -47,6 +43,7 @@ struct md_args { int warnings; #define MD_WARN_ALL (1 << 0) +#define MD_WARN_ERROR (1 << 1) int verbosity; };