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

Diff for /mandoc/mdoc.c between version 1.131 and 1.134

version 1.131, 2010/05/14 17:31:25 version 1.134, 2010/05/16 00:04:46
Line 68  const char *const __mdoc_merrnames[MERRMAX] = {   
Line 68  const char *const __mdoc_merrnames[MERRMAX] = {   
         "line arguments discouraged", /* ENOLINE */          "line arguments discouraged", /* ENOLINE */
         "prologue macro out of conventional order", /* EPROLOOO */          "prologue macro out of conventional order", /* EPROLOOO */
         "prologue macro repeated", /* EPROLREP */          "prologue macro repeated", /* EPROLREP */
         "invalid section", /* EBADSEC */          "invalid manual section", /* EBADMSEC */
         "invalid font mode", /* EFONT */          "invalid font mode", /* EFONT */
         "invalid date syntax", /* EBADDATE */          "invalid date syntax", /* EBADDATE */
         "invalid number format", /* ENUMFMT */          "invalid number format", /* ENUMFMT */
Line 190  mdoc_free1(struct mdoc *mdoc)
Line 190  mdoc_free1(struct mdoc *mdoc)
                 free(mdoc->meta.arch);                  free(mdoc->meta.arch);
         if (mdoc->meta.vol)          if (mdoc->meta.vol)
                 free(mdoc->meta.vol);                  free(mdoc->meta.vol);
           if (mdoc->meta.msec)
                   free(mdoc->meta.msec);
 }  }
   
   
Line 289  mdoc_parseln(struct mdoc *m, int ln, char *buf)
Line 291  mdoc_parseln(struct mdoc *m, int ln, char *buf)
                 return(0);                  return(0);
   
         m->flags |= MDOC_NEWLINE;          m->flags |= MDOC_NEWLINE;
         return('.' == *buf ?          return(('.' == *buf || '\'' == *buf) ?
                         mdoc_pmacro(m, ln, buf) :                          mdoc_pmacro(m, ln, buf) :
                         mdoc_ptext(m, ln, buf));                          mdoc_ptext(m, ln, buf));
 }  }
Line 700  mdoc_ptext(struct mdoc *m, int line, char *buf)
Line 702  mdoc_ptext(struct mdoc *m, int line, char *buf)
          * EOS character, then flag the node as being the end of a           * EOS character, then flag the node as being the end of a
          * sentence.  The front-end will know how to interpret this.           * sentence.  The front-end will know how to interpret this.
          */           */
   
           /* FIXME: chain of close delims. */
   
         assert(i);          assert(i);
   

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.134

CVSweb