=================================================================== RCS file: /cvs/mandoc/chars.c,v retrieving revision 1.24 retrieving revision 1.28 diff -u -p -r1.24 -r1.28 --- mandoc/chars.c 2010/07/26 13:59:00 1.24 +++ mandoc/chars.c 2010/08/29 11:36:49 1.28 @@ -1,6 +1,6 @@ -/* $Id: chars.c,v 1.24 2010/07/26 13:59:00 kristaps Exp $ */ +/* $Id: chars.c,v 1.28 2010/08/29 11:36:49 kristaps Exp $ */ /* - * Copyright (c) 2009 Kristaps Dzonsons + * Copyright (c) 2009, 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -40,7 +40,7 @@ struct ln { #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; -#define LINES_MAX 370 +#define LINES_MAX 362 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code), CHARS_CHAR }, @@ -94,13 +94,13 @@ chars_init(enum chars type) tab = malloc(sizeof(struct tbl)); if (NULL == tab) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } htab = calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **)); if (NULL == htab) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } for (i = 0; i < LINES_MAX; i++) {