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 | 320aeed3e443b3e6d5f4a692406e2835ba74a12b (patch) | |
tree | c4348b6e4db2fdc6eaa7aa61ace8ff365f0ab501 | |
parent | 65c1b92bb836a60e83ebd2bd3129acffcaa02420 (diff) | |
download | mandoc-320aeed3e443b3e6d5f4a692406e2835ba74a12b.tar.gz mandoc-320aeed3e443b3e6d5f4a692406e2835ba74a12b.tar.zst mandoc-320aeed3e443b3e6d5f4a692406e2835ba74a12b.zip |
*** empty log message ***
-rw-r--r-- | main.c | 13 | ||||
-rw-r--r-- | term.c | 4 |
2 files changed, 7 insertions, 10 deletions
@@ -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 <kristaps@openbsd.org> * @@ -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 *); @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.72 2009/04/03 11:08:39 kristaps Exp $ */ +/* $Id: term.c,v 1.73 2009/04/03 12:27:18 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> * @@ -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(); |