[BACK]Return to man_term.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/man_term.c between version 1.215 and 1.218

version 1.215, 2018/08/18 02:08:27 version 1.218, 2018/08/18 14:26:12
Line 117  static const struct man_term_act man_term_acts[MAN_MAX
Line 117  static const struct man_term_act man_term_acts[MAN_MAX
         { pre_I, NULL, 0 }, /* I */          { pre_I, NULL, 0 }, /* I */
         { pre_alternate, NULL, 0 }, /* IR */          { pre_alternate, NULL, 0 }, /* IR */
         { pre_alternate, NULL, 0 }, /* RI */          { pre_alternate, NULL, 0 }, /* RI */
         { pre_literal, NULL, 0 }, /* nf */          { pre_literal, NULL, MAN_NOTEXT }, /* nf */
         { pre_literal, NULL, 0 }, /* fi */          { pre_literal, NULL, MAN_NOTEXT }, /* fi */
         { NULL, NULL, 0 }, /* RE */          { NULL, NULL, 0 }, /* RE */
         { pre_RS, post_RS, 0 }, /* RS */          { pre_RS, post_RS, 0 }, /* RS */
         { pre_DT, NULL, 0 }, /* DT */          { pre_DT, NULL, 0 }, /* DT */
Line 346  pre_OP(DECL_ARGS)
Line 346  pre_OP(DECL_ARGS)
 {  {
   
         term_word(p, "[");          term_word(p, "[");
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_KEEP | TERMP_NOSPACE;
   
         if (NULL != (n = n->child)) {          if (NULL != (n = n->child)) {
                 term_fontrepl(p, TERMFONT_BOLD);                  term_fontrepl(p, TERMFONT_BOLD);
Line 358  pre_OP(DECL_ARGS)
Line 358  pre_OP(DECL_ARGS)
         }          }
   
         term_fontrepl(p, TERMFONT_NONE);          term_fontrepl(p, TERMFONT_NONE);
           p->flags &= ~TERMP_KEEP;
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         term_word(p, "]");          term_word(p, "]");
         return 0;          return 0;
Line 860  pre_SY(DECL_ARGS)
Line 861  pre_SY(DECL_ARGS)
   
         switch (n->type) {          switch (n->type) {
         case ROFFT_BLOCK:          case ROFFT_BLOCK:
                 print_bvspace(p, n, mt->pardist);                  if (n->prev == NULL || n->prev->tok != MAN_SY)
                           print_bvspace(p, n, mt->pardist);
                 return 1;                  return 1;
         case ROFFT_HEAD:          case ROFFT_HEAD:
         case ROFFT_BODY:          case ROFFT_BODY:

Legend:
Removed from v.1.215  
changed lines
  Added in v.1.218

CVSweb