CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2015/01/25 17:54:09

Modified files:
        usr.bin/mandoc : mandoc.h read.c tbl.c tbl_opts.c 
        regress/usr.bin/mandoc/tbl: Makefile 
Added files:
        regress/usr.bin/mandoc/tbl: opt.in opt.out_ascii opt.out_lint 

Log message:
Improve (or rather, rewrite) tbl(7) option parsing.
* Allow the layout to start after the semicolon on the options line.
* Ignore leading commas.
* Option arguments cannot contain closing parentheses.
* Avoid needless UNSUPP messages.
* Better ERROR reporting.
* Delete unused "linesize" field in struct tbl_opts.
* No need for static buffers.
* Garbage collect one almost empty wrapper function.
Improved functionality, but minus 40 lines of code.

Reply via email to