diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-03 12:27:18 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-03 12:27:18 +0000 |
commit | e3914afc1290b59c10836bf8fd0fd4d34c1b5b0d (patch) | |
tree | 317414f2d5861a64025f8a05ab165388e2684382 /main.c | |
parent | 911f176059aea8dbb5085d2191f4ae34fd849764 (diff) | |
download | mandoc-e3914afc1290b59c10836bf8fd0fd4d34c1b5b0d.tar.gz |
*** empty log message ***
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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; @@ -84,11 +88,6 @@ struct curparse { 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 *); extern int tree_man(void *, const struct man *); |