=================================================================== RCS file: /cvs/mandoc/mdoc.h,v retrieving revision 1.47 retrieving revision 1.50 diff -u -p -r1.47 -r1.50 --- mandoc/mdoc.h 2009/03/12 16:30:50 1.47 +++ mandoc/mdoc.h 2009/03/19 11:49:00 1.50 @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.47 2009/03/12 16:30:50 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.50 2009/03/19 11:49:00 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -31,8 +31,6 @@ /* What follows is a list of ALL possible macros. */ -/* TODO: Brq et al. */ - #define MDOC___ 0 #define MDOC_Dd 1 #define MDOC_Dt 2 @@ -148,7 +146,10 @@ #define MDOC_Bro 112 #define MDOC_Brc 113 #define MDOC__C 114 -#define MDOC_MAX 115 +#define MDOC_Es 115 +#define MDOC_En 116 +#define MDOC_Dx 117 +#define MDOC_MAX 118 /* What follows is a list of ALL possible macro arguments. */ @@ -299,8 +300,8 @@ void mdoc_free(struct mdoc *); /* Allocate a new parser instance. */ struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); -/* Set parse options. */ -void mdoc_setflags(struct mdoc *, int); +/* Gets system ready for another parse. */ +void mdoc_reset(struct mdoc *); /* Parse a single line in a stream (boolean retval). */ int mdoc_parseln(struct mdoc *, int, char *buf);