=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.41 retrieving revision 1.44 diff -u -p -r1.41 -r1.44 --- mandoc/mdoc.h 2009/03/08 20:50:12 1.41 +++ mandoc/mdoc.h 2009/03/09 13:17:49 1.44 @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.41 2009/03/08 20:50:12 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.44 2009/03/09 13:17:49 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -19,6 +19,8 @@ #ifndef MDOC_H #define MDOC_H +#include + /* * This library implements a validating scanner/parser for ``mdoc'' roff * macro documents, a.k.a. BSD manual page documents. The mdoc.c file @@ -139,7 +141,8 @@ #define MDOC_Ud 105 #define MDOC_Lb 106 #define MDOC_Ap 107 -#define MDOC_MAX 108 +#define MDOC_Lp 108 +#define MDOC_MAX 109 /* What follows is a list of ALL possible macro arguments. */ @@ -263,6 +266,7 @@ struct mdoc_node { #define MDOC_IGN_SCOPE (1 << 0) /* Ignore scope violations. */ #define MDOC_IGN_ESCAPE (1 << 1) /* Ignore bad escape sequences. */ +#define MDOC_IGN_MACRO (1 << 2) /* Ignore unknown macros. */ /* Call-backs for parse messages. */ struct mdoc_cb {