=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -p -r1.22 -r1.23 --- mandoc/main.c 2009/04/03 11:08:39 1.22 +++ mandoc/main.c 2009/04/03 12:27:18 1.23 @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.22 2009/04/03 11:08:39 kristaps Exp $ */ +/* $Id: main.c,v 1.23 2009/04/03 12:27:18 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -71,7 +71,11 @@ struct curparse { #define WARN_WCOMPAT (1 << 0) /* Compatibility warnings. */ #define WARN_WSYNTAX (1 << 1) /* Syntax warnings. */ #define WARN_WERR (1 << 2) /* Warnings->errors. */ - int fflags; /* Per-intt flags. */ + int fflags; +#define IGN_SCOPE (1 << 0) /* Ignore scope errors. */ +#define IGN_ESCAPE (1 << 1) /* Ignore bad escapes. */ +#define IGN_MACRO (1 << 2) /* Ignore unknown macros. */ +#define NO_IGN_MACRO (1 << 3) enum intt inttype; /* Input parsers. */ struct man *man; struct man *lastman; @@ -83,11 +87,6 @@ struct curparse { out_free outfree; void *outdata; }; - -#define IGN_SCOPE (1 << 0) /* Ignore scope errors. */ -#define IGN_ESCAPE (1 << 1) /* Ignore bad escapes. */ -#define IGN_MACRO (1 << 2) /* Ignore unknown macros. */ -#define NO_IGN_MACRO (1 << 3) extern void *ascii_alloc(void); extern int tree_mdoc(void *, const struct mdoc *);