CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2017/04/24 17:06:09
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_markdown.c mdoc_state.c mdoc_term.c mdoc_validate.c roff.c roff.h tree.c Log message: Continue parser unification: * Make enum rofft an internal interface as enum roff_tok in "roff.h". * Represent mdoc and man macros in enum roff_tok. * Make TOKEN_NONE a proper enum value and use it throughout. * Put the prologue macros first in the macro tables. * Unify mdoc_macroname[] and man_macroname[] into roff_name[].