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

Diff for /mandoc/Attic/macro.c between version 1.8 and 1.9

version 1.8, 2008/12/28 21:25:09 version 1.9, 2008/12/28 23:07:04
Line 154  append_scoped(struct mdoc *mdoc, int tok, int pos, 
Line 154  append_scoped(struct mdoc *mdoc, int tok, int pos, 
   
         case (MDOC_Bd):          case (MDOC_Bd):
                 assert(mdoc->last);                  assert(mdoc->last);
                 for (node = mdoc->last->parent; node; node = node->parent) {                  node = mdoc->last->parent;
                   /* LINTED */
                   for ( ; node; node = node->parent) {
                         if (node->type != MDOC_BLOCK)                          if (node->type != MDOC_BLOCK)
                                 continue;                                  continue;
                         if (node->data.block.tok != MDOC_Bd)                          if (node->data.block.tok != MDOC_Bd)
Line 791  again:
Line 793  again:
 }  }
   
   
   /*
    * Partial-line scope is identical to line scope (macro_scoped_line())
    * except that trailing punctuation is appended to the BLOCK, instead of
    * contained within the HEAD.
    */
 int  int
 macro_scoped_pline(MACRO_PROT_ARGS)  macro_scoped_pline(MACRO_PROT_ARGS)
 {  {
Line 803  macro_scoped_pline(MACRO_PROT_ARGS)
Line 810  macro_scoped_pline(MACRO_PROT_ARGS)
         /* Token pre-processing.  */          /* Token pre-processing.  */
   
         switch (tok) {          switch (tok) {
           case (MDOC_Ql):
                   if ( ! mdoc_warn(mdoc, tok, ppos, WARN_COMPAT_TROFF))
                           return(0);
                   break;
         default:          default:
                 break;                  break;
         }          }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb