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

Diff for /mandoc/man_macro.c between version 1.129 and 1.131

version 1.129, 2018/08/18 14:02:56 version 1.131, 2018/08/18 17:32:37
Line 246  blk_close(MACRO_PROT_ARGS)
Line 246  blk_close(MACRO_PROT_ARGS)
                 mandoc_msg(MANDOCERR_BLK_NOTOPEN, man->parse,                  mandoc_msg(MANDOCERR_BLK_NOTOPEN, man->parse,
                     line, ppos, roff_name[tok]);                      line, ppos, roff_name[tok]);
                 rew_scope(man, MAN_PP);                  rew_scope(man, MAN_PP);
                   if (tok == MAN_RE) {
                           roff_elem_alloc(man, line, ppos, ROFF_br);
                           man->last->flags |= NODE_LINE |
                               NODE_VALID | NODE_ENDED;
                           man->next = ROFF_NEXT_SIBLING;
                   }
                 return;                  return;
         }          }
   
Line 262  blk_close(MACRO_PROT_ARGS)
Line 268  blk_close(MACRO_PROT_ARGS)
         if (buf[*pos] != '\0') {          if (buf[*pos] != '\0') {
                 roff_word_alloc(man, line, ppos, buf + *pos);                  roff_word_alloc(man, line, ppos, buf + *pos);
                 man->last->flags |= NODE_DELIMC;                  man->last->flags |= NODE_DELIMC;
                   if (mandoc_eos(man->last->string, strlen(man->last->string)))
                           man->last->flags |= NODE_EOS;
         }          }
   
         /* Move a trailing paragraph behind the block. */          /* Move a trailing paragraph behind the block. */

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.131

CVSweb