From e8577c374a9f7230bd229f8ea333569dda0d6de1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Mar 2011 23:36:43 +0000 Subject: Import the foundation for eqn(7) support. Written by kristaps@. For now, i'm adding one line to each of the four frontends to just pass the input text through to the output, not yet interpreting any of then eqn keywords. --- usr.bin/mandoc/man_validate.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr.bin/mandoc/man_validate.c') diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c index f6321084eb9..25d320add35 100644 --- a/usr.bin/mandoc/man_validate.c +++ b/usr.bin/mandoc/man_validate.c @@ -1,4 +1,4 @@ -/* $Id: man_validate.c,v 1.41 2011/03/07 01:35:33 schwarze Exp $ */ +/* $Id: man_validate.c,v 1.42 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -118,6 +118,8 @@ man_valid_pre(struct man *m, struct man_node *n) /* FALLTHROUGH */ case (MAN_ROOT): /* FALLTHROUGH */ + case (MAN_EQN): + /* FALLTHROUGH */ case (MAN_TBL): return(1); default: @@ -147,6 +149,8 @@ man_valid_post(struct man *m) return(check_text(m, m->last)); case (MAN_ROOT): return(check_root(m, m->last)); + case (MAN_EQN): + /* FALLTHROUGH */ case (MAN_TBL): return(1); default: -- cgit v1.2.3