version 1.4, 2019/04/11 04:23:22 |
version 1.5, 2019/04/16 14:26:27 |
|
|
LINE_MACRO /* In the middle of a macro line. */ |
LINE_MACRO /* In the middle of a macro line. */ |
}; |
}; |
|
|
|
enum parastate { |
|
PARA_HAVE, /* Just printed .Pp or equivalent. */ |
|
PARA_MID, /* In the middle of a paragraph. */ |
|
PARA_WANT /* Need .Pp before printing anything else. */ |
|
}; |
|
|
struct format { |
struct format { |
int level; /* Header level, starting at 1. */ |
int level; /* Header level, starting at 1. */ |
int flags; |
int flags; |
|
|
#define FMT_CHILD (1 << 2) /* Expect a single child macro. */ |
#define FMT_CHILD (1 << 2) /* Expect a single child macro. */ |
#define FMT_IMPL (1 << 3) /* Partial implicit block is open. */ |
#define FMT_IMPL (1 << 3) /* Partial implicit block is open. */ |
enum linestate linestate; |
enum linestate linestate; |
|
enum parastate parastate; |
}; |
}; |
|
|
#define ARG_SPACE 1 /* Insert whitespace before this argument. */ |
#define ARG_SPACE 1 /* Insert whitespace before this argument. */ |