version 1.3, 2009/04/12 19:45:26 |
version 1.6, 2009/06/17 11:02:06 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
* There's no limit to the number or arguments that may be allocated. |
* There's no limit to the number or arguments that may be allocated. |
*/ |
*/ |
|
|
|
/* FIXME .Bf Li raises "macro-like parameter". */ |
|
|
#define ARGS_QUOTED (1 << 0) |
#define ARGS_QUOTED (1 << 0) |
#define ARGS_DELIM (1 << 1) |
#define ARGS_DELIM (1 << 1) |
#define ARGS_TABSEP (1 << 2) |
#define ARGS_TABSEP (1 << 2) |
Line 105 static int mdoc_argvflags[MDOC_ARG_MAX] = { |
|
Line 107 static int mdoc_argvflags[MDOC_ARG_MAX] = { |
|
}; |
}; |
|
|
static int mdoc_argflags[MDOC_MAX] = { |
static int mdoc_argflags[MDOC_MAX] = { |
0, /* \" */ |
0, /* Ap */ |
0, /* Dd */ |
0, /* Dd */ |
0, /* Dt */ |
0, /* Dt */ |
0, /* Os */ |
0, /* Os */ |
Line 212 static int mdoc_argflags[MDOC_MAX] = { |
|
Line 214 static int mdoc_argflags[MDOC_MAX] = { |
|
0, /* Fr */ |
0, /* Fr */ |
0, /* Ud */ |
0, /* Ud */ |
0, /* Lb */ |
0, /* Lb */ |
0, /* Ap */ |
|
ARGS_DELIM, /* Lp */ |
ARGS_DELIM, /* Lp */ |
ARGS_DELIM | ARGS_QUOTED, /* Lk */ |
ARGS_DELIM | ARGS_QUOTED, /* Lk */ |
ARGS_DELIM | ARGS_QUOTED, /* Mt */ |
ARGS_DELIM | ARGS_QUOTED, /* Mt */ |