aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-28 23:26:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-28 23:26:25 +0000
commit08b72b8f1a54d84a06924f40ca973826190c215b (patch)
treec96341f205775e45c19308440a7f61a8cc3069a7 /mandoc.h
parent23c5b114a08a25aa328f42f87c2923240872bcb1 (diff)
downloadmandoc-08b72b8f1a54d84a06924f40ca973826190c215b.tar.gz
mandoc-08b72b8f1a54d84a06924f40ca973826190c215b.tar.zst
mandoc-08b72b8f1a54d84a06924f40ca973826190c215b.zip
Allow leading and trailing vertical lines,
and format them in the same way as groff. While here, do not require whitespace before vertical lines in layout specifications. Issues found by bentley@ in mpv(1).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index a6900ee6..8d5100ea 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.118 2014/03/23 11:25:26 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.119 2014/03/28 23:26:25 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -240,6 +240,7 @@ struct tbl_row {
struct tbl_row *next;
struct tbl_cell *first;
struct tbl_cell *last;
+ int vert; /* trailing vertical line */
};
enum tbl_datt {