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

Diff for /mandoc/man.c between version 1.112 and 1.113

version 1.112, 2011/10/06 22:29:12 version 1.113, 2011/11/07 01:24:40
Line 543  man_pmacro(struct man *m, int ln, char *buf, int offs)
Line 543  man_pmacro(struct man *m, int ln, char *buf, int offs)
                         n = n->parent;                          n = n->parent;
   
                 mandoc_vmsg(MANDOCERR_LINESCOPE, m->parse, n->line,                  mandoc_vmsg(MANDOCERR_LINESCOPE, m->parse, n->line,
                                 n->pos, "%s", man_macronames[n->tok]);                      n->pos, "%s breaks %s", man_macronames[tok],
                       man_macronames[n->tok]);
   
                 man_node_delete(m, n);                  man_node_delete(m, n);
                 m->flags &= ~MAN_ELINE;                  m->flags &= ~MAN_ELINE;
           }
   
           /*
            * Remove prior BLINE macro that is being clobbered.
            */
           if ((m->flags & MAN_BLINE) &&
               (MAN_BSCOPE & man_macros[tok].flags)) {
                   n = m->last;
                   assert(MAN_TEXT != n->type);
   
                   /* Remove element that didn't end BLINE, if any. */
   
                   if ( ! (MAN_BSCOPE & man_macros[n->tok].flags))
                           n = n->parent;
   
                   assert(MAN_HEAD == n->type);
                   n = n->parent;
                   assert(MAN_BLOCK == n->type);
                   assert(MAN_SCOPED & man_macros[n->tok].flags);
   
                   mandoc_vmsg(MANDOCERR_LINESCOPE, m->parse, n->line,
                       n->pos, "%s breaks %s", man_macronames[tok],
                       man_macronames[n->tok]);
   
                   man_node_delete(m, n);
                   m->flags &= ~MAN_BLINE;
         }          }
   
         /*          /*

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

CVSweb