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

Diff for /mandoc/roff.c between version 1.256 and 1.258

version 1.256, 2015/01/24 02:41:49 version 1.258, 2015/01/28 17:32:07
Line 1237  roff_parseln(struct roff *r, int ln, struct buf *buf, 
Line 1237  roff_parseln(struct roff *r, int ln, struct buf *buf, 
         if (r->tbl != NULL && (t == ROFF_MAX || t == ROFF_TS)) {          if (r->tbl != NULL && (t == ROFF_MAX || t == ROFF_TS)) {
                 mandoc_msg(MANDOCERR_TBLMACRO, r->parse,                  mandoc_msg(MANDOCERR_TBLMACRO, r->parse,
                     ln, pos, buf->buf + spos);                      ln, pos, buf->buf + spos);
                 return(ROFF_IGN);                  if (t == ROFF_TS)
                           return(ROFF_IGN);
                   while (buf->buf[pos] != '\0' && buf->buf[pos] != ' ')
                           pos++;
                   while (buf->buf[pos] != '\0' && buf->buf[pos] == ' ')
                           pos++;
                   return(tbl_read(r->tbl, ln, buf->buf, pos));
         }          }
   
         /*          /*
Line 2370  roff_TE(ROFF_ARGS)
Line 2376  roff_TE(ROFF_ARGS)
         if (NULL == r->tbl)          if (NULL == r->tbl)
                 mandoc_msg(MANDOCERR_BLK_NOTOPEN, r->parse,                  mandoc_msg(MANDOCERR_BLK_NOTOPEN, r->parse,
                     ln, ppos, "TE");                      ln, ppos, "TE");
         else          else if ( ! tbl_end(&r->tbl)) {
                 tbl_end(&r->tbl);                  free(buf->buf);
                   buf->buf = mandoc_strdup(".sp");
                   buf->sz = 4;
                   return(ROFF_REPARSE);
           }
         return(ROFF_IGN);          return(ROFF_IGN);
 }  }
   

Legend:
Removed from v.1.256  
changed lines
  Added in v.1.258

CVSweb