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

Diff for /mandoc/mdoc_macro.c between version 1.107 and 1.108

version 1.107, 2011/04/19 16:38:48 version 1.108, 2011/04/25 00:03:07
Line 600  dword(struct mdoc *m, int line, 
Line 600  dword(struct mdoc *m, int line, 
   
         if (DELIM_OPEN == d)          if (DELIM_OPEN == d)
                 m->last->flags |= MDOC_DELIMO;                  m->last->flags |= MDOC_DELIMO;
         else if (DELIM_CLOSE == d)  
           /*
            * Closing delimiters only suppress the preceding space
            * when they follow something, not when they start a new
            * block or element, and not when they follow `No'.
            *
            * XXX  Explicitly special-casing MDOC_No here feels
            *      like a layering violation.  Find a better way
            *      and solve this in the code related to `No'!
            */
   
           else if (DELIM_CLOSE == d && m->last->prev &&
                           m->last->prev->tok != MDOC_No)
                 m->last->flags |= MDOC_DELIMC;                  m->last->flags |= MDOC_DELIMC;
   
         return(1);          return(1);

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108

CVSweb