From 1481c0648531c03ad8b53843797e3c269032f43c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 5 May 2017 02:06:19 +0000 Subject: 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. --- roff.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roff.h') 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 * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze @@ -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 *); -- cgit v1.2.3