[BACK]Return to mdoc_macro.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc_macro.c between version 1.114 and 1.115

version 1.114, 2014/12/18 03:09:42 version 1.115, 2014/12/18 20:58:00
Line 1557 
Line 1557 
         /* Make sure we are in a column list or ignore this macro. */          /* Make sure we are in a column list or ignore this macro. */
   
         n = mdoc->last;          n = mdoc->last;
         while (n != NULL && n->tok != MDOC_Bl)          while (n != NULL &&
               (n->tok != MDOC_Bl || n->flags & (MDOC_VALID | MDOC_BREAK)))
                 n = n->parent;                  n = n->parent;
         if (n == NULL || n->norm->Bl.type != LIST_column) {          if (n == NULL || n->norm->Bl.type != LIST_column) {
                 mandoc_msg(MANDOCERR_TA_STRAY, mdoc->parse,                  mandoc_msg(MANDOCERR_TA_STRAY, mdoc->parse,

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115