aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-23 19:33:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-23 19:33:27 +0000
commit562feda136881753a6d27350397fddcabed5f805 (patch)
treed3f7e0febc857b60794f5ccc3a613666e6a31e39 /main.h
parentc56c17992552256b55134ead16c3e16164fd2e67 (diff)
downloadmandoc-562feda136881753a6d27350397fddcabed5f805.tar.gz
mandoc-562feda136881753a6d27350397fddcabed5f805.tar.zst
mandoc-562feda136881753a6d27350397fddcabed5f805.zip
The upcoming .while request will have to re-execute roff(7) lines
parsed earlier, so they will have to be saved for reuse - but the read.c preparser does not know yet whether a line contains a .while request before passing it to the roff parser. To cope with that, save all parsed lines for now. Even shortens the code by 20 lines.
Diffstat (limited to 'main.h')
-rw-r--r--main.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.h b/main.h
index f9b8f135..c3e09be6 100644
--- a/main.h
+++ b/main.h
@@ -1,4 +1,4 @@
-/* $Id: main.h,v 1.27 2017/03/03 14:23:23 schwarze Exp $ */
+/* $Id: main.h,v 1.28 2018/08/23 19:33:27 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -35,7 +35,6 @@ void tree_mdoc(void *, const struct roff_man *);
void tree_man(void *, const struct roff_man *);
void man_mdoc(void *, const struct roff_man *);
-void man_man(void *, const struct roff_man *);
void *locale_alloc(const struct manoutput *);
void *utf8_alloc(const struct manoutput *);