diff options
author | 2014-03-28 23:26:25 +0000 | |
---|---|---|
committer | 2014-03-28 23:26:25 +0000 | |
commit | 08b72b8f1a54d84a06924f40ca973826190c215b (patch) | |
tree | c96341f205775e45c19308440a7f61a8cc3069a7 /mandoc.h | |
parent | 23c5b114a08a25aa328f42f87c2923240872bcb1 (diff) | |
download | mandoc-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |