version 1.56, 2009/04/12 19:45:26 |
version 1.59, 2009/06/16 19:45:51 |
|
|
/* $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 |
|
|
|
|
/* What follows is a list of ALL possible macros. */ |
/* What follows is a list of ALL possible macros. */ |
|
|
#define MDOC___ 0 |
#define MDOC_Ap 0 |
#define MDOC_Dd 1 |
#define MDOC_Dd 1 |
#define MDOC_Dt 2 |
#define MDOC_Dt 2 |
#define MDOC_Os 3 |
#define MDOC_Os 3 |
|
|
#define MDOC_Fr 104 |
#define MDOC_Fr 104 |
#define MDOC_Ud 105 |
#define MDOC_Ud 105 |
#define MDOC_Lb 106 |
#define MDOC_Lb 106 |
#define MDOC_Ap 107 |
#define MDOC_Lp 107 |
#define MDOC_Lp 108 |
#define MDOC_Lk 108 |
#define MDOC_Lk 109 |
#define MDOC_Mt 109 |
#define MDOC_Mt 110 |
#define MDOC_Brq 110 |
#define MDOC_Brq 111 |
#define MDOC_Bro 111 |
#define MDOC_Bro 112 |
#define MDOC_Brc 112 |
#define MDOC_Brc 113 |
#define MDOC__C 113 |
#define MDOC__C 114 |
#define MDOC_Es 114 |
#define MDOC_Es 115 |
#define MDOC_En 115 |
#define MDOC_En 116 |
#define MDOC_Dx 116 |
#define MDOC_Dx 117 |
#define MDOC__Q 117 |
#define MDOC__Q 118 |
#define MDOC_MAX 118 |
#define MDOC_MAX 119 |
|
|
|
/* What follows is a list of ALL possible macro arguments. */ |
/* What follows is a list of ALL possible macro arguments. */ |
|
|
Line 278 struct mdoc_node { |
|
Line 277 struct mdoc_node { |
|
|
|
/* Call-backs for parse messages. */ |
/* Call-backs for parse messages. */ |
struct mdoc_cb { |
struct mdoc_cb { |
void (*mdoc_msg)(void *, int, int, const char *); |
|
int (*mdoc_err)(void *, int, int, const char *); |
int (*mdoc_err)(void *, int, int, const char *); |
int (*mdoc_warn)(void *, int, int, |
int (*mdoc_warn)(void *, int, int, |
enum mdoc_warn, const char *); |
enum mdoc_warn, const char *); |