From 08b72b8f1a54d84a06924f40ca973826190c215b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 28 Mar 2014 23:26:25 +0000 Subject: 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). --- mandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandoc.h') 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 * Copyright (c) 2010-2014 Ingo Schwarze @@ -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 { -- cgit v1.2.3-56-ge451