CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2012/05/26 14:03:34
Modified files: usr.bin/mandoc : mandoc.h out.c tbl_data.c tbl_html.c tbl_layout.c tbl_term.c Log message: Do not handle vertical lines as additional tbl(7) columns, instead save their properties with the following column. This simplifies layout parsing and saves a lot of code related to column handling. At output time, print all white space and vertical lines separating columns before printing the following column, and none after printing the preceding column, considerably simplifying white space handling and width calculations. No functional change, but it saves 150 lines of code, and it allows the next patch to tbl_term.c, tbl_literal().