=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/chars.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/mandoc/chars.c 2009/12/22 23:58:00 1.3 --- src/usr.bin/mandoc/chars.c 2009/12/24 02:08:14 1.4 *************** *** 1,4 **** ! /* $Id: chars.c,v 1.3 2009/12/22 23:58:00 schwarze Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * --- 1,4 ---- ! /* $Id: chars.c,v 1.4 2009/12/24 02:08:14 schwarze Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * *************** *** 35,41 **** int type; #define CHARS_CHAR (1 << 0) #define CHARS_STRING (1 << 1) ! #define CHARS_BOTH (0x03) }; #define LINES_MAX 351 --- 35,41 ---- int type; #define CHARS_CHAR (1 << 0) #define CHARS_STRING (1 << 1) ! #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; #define LINES_MAX 351 *************** *** 47,55 **** #define BOTH(w, x, y, z, a, b) \ { NULL, (w), (y), (a), (x), (z), (b), CHARS_BOTH }, ! static struct ln lines[LINES_MAX] = { #include "chars.in" - }; struct tbl { enum chars type; --- 47,56 ---- #define BOTH(w, x, y, z, a, b) \ { NULL, (w), (y), (a), (x), (z), (b), CHARS_BOTH }, ! #define CHAR_TBL_START static struct ln lines[LINES_MAX] = { ! #define CHAR_TBL_END }; ! #include "chars.in" struct tbl { enum chars type;