=================================================================== RCS file: /cvs/mandoc/roff.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -p -r1.31 -r1.32 --- mandoc/roff.h 2015/04/18 16:06:41 1.31 +++ mandoc/roff.h 2015/04/18 16:34:25 1.32 @@ -1,4 +1,4 @@ -/* $OpenBSD: roff.h,v 1.31 2015/04/18 16:06:41 schwarze Exp $ */ +/* $OpenBSD: roff.h,v 1.32 2015/04/18 16:34:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -19,6 +19,12 @@ struct mdoc_arg; union mdoc_data; +enum roff_macroset { + MACROSET_NONE = 0, + MACROSET_MDOC, + MACROSET_MAN +}; + enum roff_sec { SEC_NONE = 0, SEC_NAME, @@ -145,6 +151,7 @@ struct roff_man { #define MAN_BLINE (1 << 12) /* Next-line block scope. */ #define MAN_LITERAL MDOC_LITERAL #define MAN_NEWLINE MDOC_NEWLINE + enum roff_macroset macroset; /* Kind of high-level macros used. */ enum roff_sec lastsec; /* Last section seen. */ enum roff_sec lastnamed; /* Last standard section seen. */ enum roff_next next; /* Where to put the next node. */