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

Diff for /src/usr.bin/mandoc/roff.c between version 1.12 and 1.13

version 1.12, 2010/09/13 22:04:01 version 1.13, 2010/09/27 21:25:28
Line 51 
Line 51 
         ROFF_rm,          ROFF_rm,
         ROFF_tr,          ROFF_tr,
         ROFF_cblock,          ROFF_cblock,
         ROFF_ccond,          ROFF_ccond, /* FIXME: remove this. */
         ROFF_nr,          ROFF_nr,
         ROFF_MAX          ROFF_MAX
 };  };
Line 732 
Line 732 
 {  {
         enum rofft       t;          enum rofft       t;
         enum roffrule    rr;          enum roffrule    rr;
         struct roffnode *l;  
   
         ppos = pos;          ppos = pos;
         rr = r->last->rule;          rr = r->last->rule;
Line 742 
Line 741 
          * continue.           * continue.
          */           */
   
         l = r->last;  
         roffnode_cleanscope(r);          roffnode_cleanscope(r);
   
         if (ROFF_MAX == (t = roff_parse(*bufp, &pos))) {          if (ROFF_MAX == (t = roff_parse(*bufp, &pos))) {
Line 782 
Line 780 
          * We display the value of the text if out current evaluation           * We display the value of the text if out current evaluation
          * scope permits us to do so.           * scope permits us to do so.
          */           */
   
           /* FIXME: use roff_ccond? */
   
         st = &(*bufp)[pos];          st = &(*bufp)[pos];
         if (NULL == (ep = strstr(st, "\\}"))) {          if (NULL == (ep = strstr(st, "\\}"))) {

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13