summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-05 00:13:35 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-05 00:13:35 +0000
commit4d73dee4aabd2b00728ba212fd59df611497560a (patch)
tree9aed70b90e3c2c9057235e4139e4577bd7760e01 /usr.bin/mandoc/mdoc.h
parent4738ead590e6bd88a2f6493751947496d86c42c3 (diff)
Simplify by deleting the "lastline" member of struct mdoc_node.
Minus one struct member, minus 17 lines of code, no functional change.
Diffstat (limited to 'usr.bin/mandoc/mdoc.h')
-rw-r--r--usr.bin/mandoc/mdoc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.h b/usr.bin/mandoc/mdoc.h
index a4a7f9df810..723f1873344 100644
--- a/usr.bin/mandoc/mdoc.h
+++ b/usr.bin/mandoc/mdoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc.h,v 1.59 2015/01/31 00:11:51 schwarze Exp $ */
+/* $OpenBSD: mdoc.h,v 1.60 2015/02/05 00:13:34 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -352,7 +352,6 @@ struct mdoc_node {
int nchild; /* number children */
int line; /* parse line */
int pos; /* parse column */
- int lastline; /* the node ends on this line */
enum mdoct tok; /* tok or MDOC__MAX if none */
int flags;
#define MDOC_VALID (1 << 0) /* has been validated */