=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_man.c,v retrieving revision 1.112 retrieving revision 1.113 diff -c -r1.112 -r1.113 *** src/usr.bin/mandoc/mdoc_man.c 2017/05/07 17:30:58 1.112 --- src/usr.bin/mandoc/mdoc_man.c 2017/05/08 15:33:43 1.113 *************** *** 1,4 **** ! /* $OpenBSD: mdoc_man.c,v 1.112 2017/05/07 17:30:58 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze * --- 1,4 ---- ! /* $OpenBSD: mdoc_man.c,v 1.113 2017/05/08 15:33:43 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze * *************** *** 99,108 **** static int pre_it(DECL_ARGS); static int pre_lk(DECL_ARGS); static int pre_li(DECL_ARGS); - static void pre_ll(DECL_ARGS); static int pre_nm(DECL_ARGS); static int pre_no(DECL_ARGS); static int pre_ns(DECL_ARGS); static int pre_pp(DECL_ARGS); static int pre_rs(DECL_ARGS); static int pre_sm(DECL_ARGS); --- 99,108 ---- static int pre_it(DECL_ARGS); static int pre_lk(DECL_ARGS); static int pre_li(DECL_ARGS); static int pre_nm(DECL_ARGS); static int pre_no(DECL_ARGS); static int pre_ns(DECL_ARGS); + static void pre_onearg(DECL_ARGS); static int pre_pp(DECL_ARGS); static int pre_rs(DECL_ARGS); static int pre_sm(DECL_ARGS); *************** *** 125,133 **** static const void_fp roff_manacts[ROFF_MAX] = { pre_br, pre_ft, ! pre_ll, pre_sp, pre_ta, }; static const struct manact __manacts[MDOC_MAX - MDOC_Dd] = { --- 125,134 ---- static const void_fp roff_manacts[ROFF_MAX] = { pre_br, pre_ft, ! pre_onearg, pre_sp, pre_ta, + pre_onearg, }; static const struct manact __manacts[MDOC_MAX - MDOC_Dd] = { *************** *** 1563,1571 **** } static void ! pre_ll(DECL_ARGS) { ! print_line(".ll", 0); if (n->child != NULL) print_word(n->child->string); outflags |= MMAN_nl; --- 1564,1575 ---- } static void ! pre_onearg(DECL_ARGS) { ! outflags |= MMAN_nl; ! print_word("."); ! outflags &= ~MMAN_spc; ! print_word(roff_name[n->tok]); if (n->child != NULL) print_word(n->child->string); outflags |= MMAN_nl;