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

Diff for /mandoc/Attic/mdocml.c between version 1.51 and 1.52

version 1.51, 2009/02/20 07:43:15 version 1.52, 2009/02/20 11:04:23
Line 224  buf_begin(struct md_parse *p)
Line 224  buf_begin(struct md_parse *p)
 static int  static int
 parse_leave(struct md_parse *p, int code)  parse_leave(struct md_parse *p, int code)
 {  {
           extern int termprint(const struct mdoc_node *,
                           const struct mdoc_meta *);
   
         if (NULL == p->mdoc)          if (NULL == p->mdoc)
                 return(code);                  return(code);
Line 231  parse_leave(struct md_parse *p, int code)
Line 233  parse_leave(struct md_parse *p, int code)
         if ( ! mdoc_endparse(p->mdoc))          if ( ! mdoc_endparse(p->mdoc))
                 code = 0;                  code = 0;
   
 #if 0  
         /* TODO */          /* TODO */
         if (code && ! mdoc_write(p->out, mdoc_node(p->mdoc))) {          if (code && ! termprint(mdoc_node(p->mdoc), mdoc_meta(p->mdoc)))
                 warnx("%s: write error", p->out);  
                 code = 0;                  code = 0;
         }  
 #endif  
   
         mdoc_free(p->mdoc);          mdoc_free(p->mdoc);
         return(code);          return(code);

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

CVSweb