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

Diff for /mandoc/mdoc.c between version 1.48 and 1.49

version 1.48, 2009/02/23 12:45:19 version 1.49, 2009/03/01 23:14:15
Line 191  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
Line 191  mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
   
         mdoc->linetok = 0;          mdoc->linetok = 0;
   
           /*
            * FIXME: should puke on whitespace in non-literal displays.
            */
   
         if ('.' != *buf) {          if ('.' != *buf) {
                 if (SEC_PROLOGUE == mdoc->lastnamed)                  if (SEC_PROLOGUE == mdoc->lastnamed)
                         return(mdoc_perr(mdoc, line, 0, "text disallowed in document prologue"));                          return(mdoc_perr(mdoc, line, 0,
                                   "no text in document prologue"));
                 if ( ! mdoc_word_alloc(mdoc, line, 0, buf))                  if ( ! mdoc_word_alloc(mdoc, line, 0, buf))
                         return(0);                          return(0);
                 mdoc->next = MDOC_NEXT_SIBLING;                  mdoc->next = MDOC_NEXT_SIBLING;

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49

CVSweb