=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.244 retrieving revision 1.247 diff -u -p -r1.244 -r1.247 --- mandoc/mandoc.h 2017/07/07 19:39:30 1.244 +++ mandoc/mandoc.h 2018/03/16 15:05:44 1.247 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.244 2017/07/07 19:39:30 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.247 2018/03/16 15:05:44 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons * Copyright (c) 2010-2017 Ingo Schwarze @@ -58,7 +58,7 @@ enum mandocerr { MANDOCERR_DATE_LEGACY, /* legacy man(7) date format: Dd ... */ MANDOCERR_TITLE_CASE, /* lower case character in document title */ MANDOCERR_RCS_REP, /* duplicate RCS id: ... */ - MANDOCERR_SEC_TYPO, /* typo in section name: Sh ... */ + MANDOCERR_SEC_TYPO, /* possible typo in section name: Sh ... */ MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */ MANDOCERR_MACRO_USELESS, /* useless macro: macro */ MANDOCERR_BX, /* consider using OS macro: macro */ @@ -68,6 +68,7 @@ enum mandocerr { MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */ MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */ MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping: nf */ + MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */ MANDOCERR_FUNC, /* function name without markup: name() */ MANDOCERR_SPACE_EOL, /* whitespace at end of input line */ MANDOCERR_COMMENT_BAD, /* bad comment style */ @@ -399,17 +400,6 @@ struct eqn_box { enum eqn_post pos; /* position of next box */ enum eqn_fontt font; /* font of box */ enum eqn_pilet pile; /* equation piling */ -}; - -/* - * An equation consists of a tree of expressions starting at a given - * line and position. - */ -struct eqn { - char *name; /* identifier (or NULL) */ - struct eqn_box *root; /* root mathematical expression */ - int ln; /* invocation line */ - int pos; /* invocation position */ }; /*