=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.79 retrieving revision 1.82 diff -u -p -r1.79 -r1.82 --- mandoc/mandoc.h 2011/07/17 12:52:54 1.79 +++ mandoc/mandoc.h 2011/07/21 10:24:35 1.82 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.79 2011/07/17 12:52:54 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.82 2011/07/21 10:24:35 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -109,6 +109,10 @@ enum mandocerr { MANDOCERR_ERROR, /* ===== start of errors ===== */ + /* related to equations */ + MANDOCERR_EQNARGS, /* bad equation macro arguments */ + MANDOCERR_EQNNEST, /* too many nested equation defines */ + /* related to tables */ MANDOCERR_TBL, /* bad table syntax */ MANDOCERR_TBLOPT, /* bad table option */ @@ -276,7 +280,7 @@ struct tbl_span { struct eqn { size_t sz; char *data; - int line; /* invocation line */ + int ln; /* invocation line */ int pos; /* invocation position */ };