CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/04/02 16:06:17
Modified files: usr.bin/mandoc : libman.h libmdoc.h man.c man.h man_hash.c man_html.c man_macro.c man_term.c man_validate.c mandocdb.c mdoc.c mdoc.h mdoc_argv.c mdoc_hash.c mdoc_html.c mdoc_macro.c mdoc_man.c mdoc_term.c mdoc_validate.c roff.h tree.c Log message: Second step towards parser unification: Replace struct mdoc_node and struct man_node by a unified struct roff_node. To be able to use the tok member for both mdoc(7) and man(7) without defining all the macros in roff.h, sacrifice a tiny bit of type safety and make tok an int rather than an enum. Almost mechanical, no functional change. Written on the Eurostar from Bruxelles to London on the way to p2k15.