CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2013/10/21 17:32:33
Modified files: usr.bin/mandoc : libmdoc.h mdoc.c mdoc_macro.c mdoc_validate.c Log message: There are three kinds of input lines: text lines, macros taking positional arguments (like Dt Fn Xr) and macros taking text as arguments (like Nd Sh Em %T An). In the past, even the latter put each word of their arguments into its own MDOC_TEXT node; instead, concatenate arguments unless delimiters, keeps or spacing mode prevent that. Regarding mandoc(1), this is internal refactoring, no output change intended. Once we will switch mandocdb(8) from DB to SQLite in the future, this is going to be required to support search expressions crossing word boundaries, and it will reduce both database sizes and build times by a bit more than 5% each.