aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tree.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-28 05:51:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-28 05:51:32 +0000
commit5ad0aed9e9f0fee4047fe0f4b00f3f0f0204f233 (patch)
tree2b36a35dc0206eb18c9762220951987814300465 /tree.c
parent8f8821b48135e557417c2b0bb20231e265fecdc9 (diff)
downloadmandoc-5ad0aed9e9f0fee4047fe0f4b00f3f0f0204f233.tar.gz
mandoc-5ad0aed9e9f0fee4047fe0f4b00f3f0f0204f233.tar.zst
mandoc-5ad0aed9e9f0fee4047fe0f4b00f3f0f0204f233.zip
Simplify by making many functions in the man(7) parser void,
and some cleanup; no functional change, minus 70 lines.
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tree.c b/tree.c
index 19ee0c79..4753219c 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.59 2014/10/20 01:43:48 schwarze Exp $ */
+/* $Id: tree.c,v 1.60 2014/11/28 05:51:32 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -200,9 +200,6 @@ print_man(const struct man_node *n, int indent)
case MAN_BODY:
t = "block-body";
break;
- case MAN_TAIL:
- t = "block-tail";
- break;
case MAN_TBL:
break;
case MAN_EQN:
@@ -223,8 +220,6 @@ print_man(const struct man_node *n, int indent)
/* FALLTHROUGH */
case MAN_HEAD:
/* FALLTHROUGH */
- case MAN_TAIL:
- /* FALLTHROUGH */
case MAN_BODY:
p = man_macronames[n->tok];
break;