=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.5 retrieving revision 1.7 diff -u -p -r1.5 -r1.7 --- mandoc/mandoc.h 2010/05/17 22:11:42 1.5 +++ mandoc/mandoc.h 2010/05/25 12:37:20 1.7 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.5 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.7 2010/05/25 12:37:20 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -17,6 +17,10 @@ #ifndef MANDOC_H #define MANDOC_H +#define ASCII_NBRSP 31 /* non-breaking space */ +#define ASCII_HYPH 30 /* breakable hyphen */ + + __BEGIN_DECLS enum mandocerr { @@ -72,7 +76,7 @@ enum mandocerr { MANDOCERR_NOTITLE, /* no title in document */ MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ MANDOCERR_BODYLOST, /* body argument(s) will be lost */ -#define MANDOCERR_ERROR MANDOCERR_ARGSLOST +#define MANDOCERR_ERROR MANDOCERR_BODYLOST /* FIXME: this should be a MANDOCERR_ERROR */ MANDOCERR_FONTTYPE, /* missing font type */