From e3914afc1290b59c10836bf8fd0fd4d34c1b5b0d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 3 Apr 2009 12:27:18 +0000 Subject: *** empty log message *** --- main.c | 11 +++++------ term.c | 2 -- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/main.c b/main.c index d1ee30c8..f3b479cf 100644 --- a/main.c +++ b/main.c @@ -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 *); diff --git a/term.c b/term.c index 275b9b62..19eda900 100644 --- a/term.c +++ b/term.c @@ -59,7 +59,6 @@ terminal_man(void *arg, const struct man *man) struct termp *p; p = (struct termp *)arg; - if (NULL == p->symtab) p->symtab = term_ascii2htab(); @@ -73,7 +72,6 @@ terminal_mdoc(void *arg, const struct mdoc *mdoc) struct termp *p; p = (struct termp *)arg; - if (NULL == p->symtab) p->symtab = term_ascii2htab(); -- cgit