summaryrefslogtreecommitdiffstats
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-07 23:29:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-07 23:29:48 +0000
commit9470ea43636dff4fc8ad12fed5179d6c756fcd49 (patch)
treeccafb6e3fa5e2eae3a340223b3efb2afe3452dcd /roff.h
parentbe756d214c74f6eb13e12663900a345e88b76d9b (diff)
downloadmandoc-9470ea43636dff4fc8ad12fed5179d6c756fcd49.tar.gz
style checks related to .Er; inspired by mdoclint(1)
Diffstat (limited to 'roff.h')
-rw-r--r--roff.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/roff.h b/roff.h
index 9800dfc9..6b383c9a 100644
--- a/roff.h
+++ b/roff.h
@@ -26,6 +26,12 @@ enum roff_macroset {
MACROSET_MAN
};
+enum mdoc_os {
+ MDOC_OS_OTHER = 0,
+ MDOC_OS_NETBSD,
+ MDOC_OS_OPENBSD
+};
+
enum roff_sec {
SEC_NONE = 0,
SEC_NAME,
@@ -528,6 +534,7 @@ struct roff_meta {
char *name; /* Leading manual name. */
char *date; /* Normalized date. */
int hasbody; /* Document is not empty. */
+ enum mdoc_os os_e; /* Operating system. */
};
struct roff_man {