CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2009/08/22 13:43:33
Modified files: usr.bin/mandoc : libmdoc.h mdoc.c mdoc_macro.c Log message: sync to 1.9.0: polishing the core code of mdoc macro handling 1) If a macro is not parsed, do not parse it. Of course, without parsing it, we cannot produce "macro-like parameter" warnings, but these were useless anyway. 2) If a macro is not callable, do not print a useless warning when it occurs as a parameter, just display the raw characters. 3) Below .Bl -column, check whether macros are callable. 4) Like groff, allow whitespace after the initial dot on macro lines.