CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2017/01/11 10:39:45
Modified files: usr.bin/mandoc : mandocdb.c mdoc_html.c mdoc_man.c mdoc_term.c mdoc_validate.c regress/usr.bin/mandoc/mdoc: Makefile Added files: regress/usr.bin/mandoc/mdoc/Ud: Makefile arg.in arg.out_ascii arg.out_lint Log message: Do text production for .Bt, .Ex, .Rv, .Ud at the validation stage rather than in the formatters. Use NODE_NOSRC flag for .Lb and NODE_NOSRC and NODE_NOPRT for .St. Results in a more rigorous syntax tree and in 135 lines less code. This work was triggered by a question from Abhinav Upadhyay <er dot abhinav dot upadhyay at gmail dot com> (NetBSD) on discuss@.