version 1.269, 2020/09/01 18:25:27 |
version 1.275, 2022/04/24 13:38:46 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2012-2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2012-2022 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
|
|
MANDOCERR_ARCH_BAD, /* unknown architecture: Dt ... arch */ |
MANDOCERR_ARCH_BAD, /* unknown architecture: Dt ... arch */ |
MANDOCERR_OS_ARG, /* operating system explicitly specified: Os ... */ |
MANDOCERR_OS_ARG, /* operating system explicitly specified: Os ... */ |
MANDOCERR_RCS_MISSING, /* RCS id missing */ |
MANDOCERR_RCS_MISSING, /* RCS id missing */ |
MANDOCERR_XR_BAD, /* referenced manual not found: Xr name sec */ |
|
|
|
MANDOCERR_STYLE, /* ===== start of style suggestions ===== */ |
MANDOCERR_STYLE, /* ===== start of style suggestions ===== */ |
|
|
|
|
MANDOCERR_BX, /* consider using OS macro: macro */ |
MANDOCERR_BX, /* consider using OS macro: macro */ |
MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */ |
MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */ |
MANDOCERR_ER_REP, /* duplicate errno: Er ... */ |
MANDOCERR_ER_REP, /* duplicate errno: Er ... */ |
|
MANDOCERR_XR_BAD, /* referenced manual not found: Xr name sec */ |
MANDOCERR_DELIM, /* trailing delimiter: macro ... */ |
MANDOCERR_DELIM, /* trailing delimiter: macro ... */ |
MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */ |
MANDOCERR_DELIM_NB, /* no blank before trailing delimiter: macro ... */ |
MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */ |
MANDOCERR_FI_SKIP, /* fill mode already enabled, skipping: fi */ |
MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping: nf */ |
MANDOCERR_NF_SKIP, /* fill mode already disabled, skipping: nf */ |
|
MANDOCERR_TEXT_LONG, /* input text line longer than 80 bytes */ |
MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */ |
MANDOCERR_DASHDASH, /* verbatim "--", maybe consider using \(em */ |
MANDOCERR_FUNC, /* function name without markup: name() */ |
MANDOCERR_FUNC, /* function name without markup: name() */ |
MANDOCERR_SPACE_EOL, /* whitespace at end of input line */ |
MANDOCERR_SPACE_EOL, /* whitespace at end of input line */ |
Line 214 enum mandocerr { |
|
Line 215 enum mandocerr { |
|
MANDOCERR_NAMESC, /* escaped character not allowed in a name: name */ |
MANDOCERR_NAMESC, /* escaped character not allowed in a name: name */ |
MANDOCERR_ARG_UNDEF, /* using macro argument outside macro */ |
MANDOCERR_ARG_UNDEF, /* using macro argument outside macro */ |
MANDOCERR_ARG_NONUM, /* argument number is not numeric */ |
MANDOCERR_ARG_NONUM, /* argument number is not numeric */ |
|
MANDOCERR_ARG_NEG, /* negative argument, using 0: request arg */ |
MANDOCERR_BD_FILE, /* NOT IMPLEMENTED: Bd -file */ |
MANDOCERR_BD_FILE, /* NOT IMPLEMENTED: Bd -file */ |
MANDOCERR_BD_NOARG, /* skipping display without arguments: Bd */ |
MANDOCERR_BD_NOARG, /* skipping display without arguments: Bd */ |
MANDOCERR_BL_NOTYPE, /* missing list type, using -item: Bl */ |
MANDOCERR_BL_NOTYPE, /* missing list type, using -item: Bl */ |
Line 244 enum mandocerr { |
|
Line 246 enum mandocerr { |
|
MANDOCERR_TBLOPT_EQN, /* eqn delim option in tbl: arg */ |
MANDOCERR_TBLOPT_EQN, /* eqn delim option in tbl: arg */ |
MANDOCERR_TBLLAYOUT_MOD, /* unsupported tbl layout modifier: m */ |
MANDOCERR_TBLLAYOUT_MOD, /* unsupported tbl layout modifier: m */ |
MANDOCERR_TBLMACRO, /* ignoring macro in table: macro */ |
MANDOCERR_TBLMACRO, /* ignoring macro in table: macro */ |
|
MANDOCERR_TBL_TMAN, /* skipping tbl in -Tman mode */ |
|
MANDOCERR_EQN_TMAN, /* skipping eqn in -Tman mode */ |
|
|
MANDOCERR_BADARG, /* ===== start of bad invocations ===== */ |
MANDOCERR_BADARG, /* ===== start of bad invocations ===== */ |
|
|
Line 254 enum mandocerr { |
|
Line 258 enum mandocerr { |
|
MANDOCERR_BADVAL_BAD, /* bad argument value */ |
MANDOCERR_BADVAL_BAD, /* bad argument value */ |
MANDOCERR_BADVAL_DUPE, /* duplicate argument value */ |
MANDOCERR_BADVAL_DUPE, /* duplicate argument value */ |
MANDOCERR_TAG, /* no such tag */ |
MANDOCERR_TAG, /* no such tag */ |
|
MANDOCERR_MAN_TMARKDOWN, /* -Tmarkdown unsupported for man(7) input */ |
|
|
MANDOCERR_SYSERR, /* ===== start of system errors ===== */ |
MANDOCERR_SYSERR, /* ===== start of system errors ===== */ |
|
|
Line 288 enum mandoc_esc { |
|
Line 293 enum mandoc_esc { |
|
ESCAPE_FONTITALIC, /* italic font mode */ |
ESCAPE_FONTITALIC, /* italic font mode */ |
ESCAPE_FONTBI, /* bold italic font mode */ |
ESCAPE_FONTBI, /* bold italic font mode */ |
ESCAPE_FONTROMAN, /* roman font mode */ |
ESCAPE_FONTROMAN, /* roman font mode */ |
ESCAPE_FONTCW, /* constant width font mode */ |
ESCAPE_FONTCR, /* constant width font mode */ |
|
ESCAPE_FONTCB, /* constant width bold font mode */ |
|
ESCAPE_FONTCI, /* constant width italic font mode */ |
ESCAPE_FONTPREV, /* previous font mode */ |
ESCAPE_FONTPREV, /* previous font mode */ |
ESCAPE_NUMBERED, /* a numbered glyph */ |
ESCAPE_NUMBERED, /* a numbered glyph */ |
ESCAPE_UNICODE, /* a unicode codepoint */ |
ESCAPE_UNICODE, /* a unicode codepoint */ |