+static int argv_multi(struct mdoc *, int,
+ struct mdoc_arg *, int *, char *);
+static int pwarn(struct mdoc *, int, int, int);
+static int perr(struct mdoc *, int, int, int);
+
+/* Warning messages. */
+
+#define WQUOTPARM (0)
+#define WARGVPARM (1)
+#define WCOLEMPTY (2)
+#define WTAILWS (3)
+
+/* Error messages. */
+
+#define EQUOTTERM (0)
+#define EARGVAL (1)
+#define EARGMANY (2)
+
+/* Per-argument flags. */
+
+static int mdoc_argvflags[MDOC_ARG_MAX] = {
+ ARGV_NONE, /* MDOC_Split */
+ ARGV_NONE, /* MDOC_Nosplit */
+ ARGV_NONE, /* MDOC_Ragged */
+ ARGV_NONE, /* MDOC_Unfilled */
+ ARGV_NONE, /* MDOC_Literal */
+ ARGV_NONE, /* MDOC_File */
+ ARGV_SINGLE, /* MDOC_Offset */
+ ARGV_NONE, /* MDOC_Bullet */
+ ARGV_NONE, /* MDOC_Dash */
+ ARGV_NONE, /* MDOC_Hyphen */
+ ARGV_NONE, /* MDOC_Item */
+ ARGV_NONE, /* MDOC_Enum */
+ ARGV_NONE, /* MDOC_Tag */
+ ARGV_NONE, /* MDOC_Diag */
+ ARGV_NONE, /* MDOC_Hang */
+ ARGV_NONE, /* MDOC_Ohang */
+ ARGV_NONE, /* MDOC_Inset */
+ ARGV_MULTI, /* MDOC_Column */
+ ARGV_SINGLE, /* MDOC_Width */
+ ARGV_NONE, /* MDOC_Compact */
+ ARGV_OPT_SINGLE, /* MDOC_Std */
+ ARGV_NONE, /* MDOC_p1003_1_88 */
+ ARGV_NONE, /* MDOC_p1003_1_90 */
+ ARGV_NONE, /* MDOC_p1003_1_96 */
+ ARGV_NONE, /* MDOC_p1003_1_2001 */
+ ARGV_NONE, /* MDOC_p1003_1_2004 */
+ ARGV_NONE, /* MDOC_p1003_1 */
+ ARGV_NONE, /* MDOC_p1003_1b */
+ ARGV_NONE, /* MDOC_p1003_1b_93 */
+ ARGV_NONE, /* MDOC_p1003_1c_95 */
+ ARGV_NONE, /* MDOC_p1003_1g_2000 */
+ ARGV_NONE, /* MDOC_p1003_2_92 */
+ ARGV_NONE, /* MDOC_p1387_2_95 */
+ ARGV_NONE, /* MDOC_p1003_2 */
+ ARGV_NONE, /* MDOC_p1387_2 */
+ ARGV_NONE, /* MDOC_isoC_90 */
+ ARGV_NONE, /* MDOC_isoC_amd1 */
+ ARGV_NONE, /* MDOC_isoC_tcor1 */
+ ARGV_NONE, /* MDOC_isoC_tcor2 */
+ ARGV_NONE, /* MDOC_isoC_99 */
+ ARGV_NONE, /* MDOC_ansiC */
+ ARGV_NONE, /* MDOC_ansiC_89 */
+ ARGV_NONE, /* MDOC_ansiC_99 */
+ ARGV_NONE, /* MDOC_ieee754 */
+ ARGV_NONE, /* MDOC_iso8802_3 */
+ ARGV_NONE, /* MDOC_xpg3 */
+ ARGV_NONE, /* MDOC_xpg4 */
+ ARGV_NONE, /* MDOC_xpg4_2 */
+ ARGV_NONE, /* MDOC_xpg4_3 */
+ ARGV_NONE, /* MDOC_xbd5 */
+ ARGV_NONE, /* MDOC_xcu5 */
+ ARGV_NONE, /* MDOC_xsh5 */
+ ARGV_NONE, /* MDOC_xns5 */
+ ARGV_NONE, /* MDOC_xns5_2d2_0 */
+ ARGV_NONE, /* MDOC_xcurses4_2 */
+ ARGV_NONE, /* MDOC_susv2 */
+ ARGV_NONE, /* MDOC_susv3 */
+ ARGV_NONE, /* MDOC_svid4 */
+ ARGV_NONE, /* MDOC_Filled */
+ ARGV_NONE, /* MDOC_Words */
+ ARGV_NONE, /* MDOC_Emphasis */
+ ARGV_NONE /* MDOC_Symbolic */
+};