=================================================================== RCS file: /cvs/mandoc/chars.c,v retrieving revision 1.11 retrieving revision 1.13 diff -u -p -r1.11 -r1.13 --- mandoc/chars.c 2009/10/31 06:10:57 1.11 +++ mandoc/chars.c 2009/11/05 07:21:01 1.13 @@ -1,4 +1,4 @@ -/* $Id: chars.c,v 1.11 2009/10/31 06:10:57 kristaps Exp $ */ +/* $Id: chars.c,v 1.13 2009/11/05 07:21:01 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -35,7 +35,7 @@ struct ln { int type; #define CHARS_CHAR (1 << 0) #define CHARS_STRING (1 << 1) -#define CHARS_BOTH (0x03) +#define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; #define LINES_MAX 351 @@ -47,9 +47,10 @@ struct ln { #define BOTH(w, x, y, z, a, b) \ { NULL, (w), (y), (a), (x), (z), (b), CHARS_BOTH }, -static struct ln lines[LINES_MAX] = { +#define CHAR_TBL_START static struct ln lines[LINES_MAX] = { +#define CHAR_TBL_END }; + #include "chars.in" -}; struct tbl { enum chars type;