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

Diff for /texi2mdoc/main.c between version 1.51 and 1.52

version 1.51, 2015/02/27 19:28:55 version 1.52, 2015/02/28 00:03:20
Line 614  doignblock(struct texi *p, enum texicmd cmd, size_t *p
Line 614  doignblock(struct texi *p, enum texicmd cmd, size_t *p
          * Thus, we keep track of scopes for matching "end" blocks.           * Thus, we keep track of scopes for matching "end" blocks.
          */           */
         while (stack > 0 && *pos < BUFSZ(p)) {          while (stack > 0 && *pos < BUFSZ(p)) {
                 if (stack > 10)                  if (stack > 64)
                         abort();                          texierr(p, "run-away nested stack?");
                 endt = memmem(&BUF(p)[*pos], BUFSZ(p) - *pos, end, esz);                  endt = memmem(&BUF(p)[*pos], BUFSZ(p) - *pos, end, esz);
                 startt = memmem(&BUF(p)[*pos], BUFSZ(p) - *pos, start, ssz);                  startt = memmem(&BUF(p)[*pos], BUFSZ(p) - *pos, start, ssz);
                 if (NULL == endt) {                  if (NULL == endt) {

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

CVSweb