=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.52 retrieving revision 1.55 diff -u -p -r1.52 -r1.55 --- mandoc/mandoc.h 2011/01/11 00:11:45 1.52 +++ mandoc/mandoc.h 2011/02/06 20:36:36 1.55 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.52 2011/01/11 00:11:45 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.55 2011/02/06 20:36:36 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -68,6 +68,7 @@ enum mandocerr { /* related to macros and nesting */ MANDOCERR_MACROOBS, /* skipping obsolete macro */ MANDOCERR_IGNPAR, /* skipping paragraph macro */ + MANDOCERR_IGNNS, /* skipping no-space macro */ MANDOCERR_SCOPENEST, /* blocks badly nested */ MANDOCERR_CHILD, /* child violates parent syntax */ MANDOCERR_NESTEDDISP, /* nested displays are not portable */ @@ -80,6 +81,7 @@ enum mandocerr { MANDOCERR_LISTFIRST, /* list type must come first */ MANDOCERR_NOWIDTHARG, /* tag lists require a width argument */ MANDOCERR_FONTTYPE, /* missing font type */ + MANDOCERR_WNOSCOPE, /* skipping end of block that is not open */ /* related to bad macro arguments */ MANDOCERR_IGNARGV, /* skipping argument */ @@ -263,6 +265,11 @@ struct tbl_span { #define TBL_SPAN_LAST (1 << 1) enum tbl_spant pos; struct tbl_span *next; +}; + +struct eqn { + size_t sz; + char *data; }; /*