aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-05 02:06:19 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-05 02:06:19 +0000
commit1481c0648531c03ad8b53843797e3c269032f43c (patch)
tree45ea03c49eb82d26f334f5a790e760417bd7b9b5 /roff.h
parentd4309408b94eb36fcea040582e8579967cb7878b (diff)
downloadmandoc-1481c0648531c03ad8b53843797e3c269032f43c.tar.gz
mandoc-1481c0648531c03ad8b53843797e3c269032f43c.tar.zst
mandoc-1481c0648531c03ad8b53843797e3c269032f43c.zip
Move handling of the roff(7) .ft request from the man(7)
modules to the new roff(7) modules. As a side effect, mdoc(7) now handles .ft, too. Of course, do not use that.
Diffstat (limited to 'roff.h')
-rw-r--r--roff.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/roff.h b/roff.h
index 59fd8ba9..928b97eb 100644
--- a/roff.h
+++ b/roff.h
@@ -1,4 +1,4 @@
-/* $Id: roff.h,v 1.43 2017/05/04 17:48:29 schwarze Exp $ */
+/* $Id: roff.h,v 1.44 2017/05/05 02:06:19 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -67,6 +67,7 @@ enum roff_type {
enum roff_tok {
ROFF_br = 0,
+ ROFF_ft,
ROFF_MAX,
ROFF_ab,
ROFF_ad,
@@ -156,7 +157,6 @@ enum roff_tok {
ROFF_fschar,
ROFF_fspacewidth,
ROFF_fspecial,
- /* MAN_ft; ignored in mdoc(7) */
ROFF_ftr,
ROFF_fzoom,
ROFF_gcolor,
@@ -464,7 +464,6 @@ enum roff_tok {
MAN_PD,
MAN_AT,
MAN_in,
- MAN_ft,
MAN_OP,
MAN_EX,
MAN_EE,
@@ -576,3 +575,4 @@ void deroff(char **, const struct roff_node *);
struct ohash *roffhash_alloc(enum roff_tok, enum roff_tok);
enum roff_tok roffhash_find(struct ohash *, const char *, size_t);
void roffhash_free(struct ohash *);
+void roff_validate(struct roff_man *);