Quick Search:

Mode

Context

Displaying 6 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.181
 
1.182
 
MAIN:plunky:20121029170721
 
cpp.c
_>407407                 /* XXX may lose heap space */
 408408                 lbuf = stringbuf;
 409409                 stringbuf += c;
 410410                 llen = c;
 411411                 if (stringbuf >= &sbf[SBSIZE]) {
 412412                         stringbuf = sbf; /* need space to write error message */
<>413 -                        error("line filename exceeds buffer size");
  413+                        error("#line filename exceeds buffer size");
414414                 }
 415415         }
 416416         memcpy(lbuf, p, c);
 417417         ifiles->fname = lbuf;
 418418         if (yylex() != '\n')
 419419                 goto bad;
 420420 
 421421 okret:  prtline();
 422422         return;
 423423 
<>424 -bad:    error("bad line directive");
  424+bad:    error("bad #line");
425425 }
 426426 
 427427 /*
 428428  * Search for and include next file.
 429429  * Return 1 on success.
 430430  */
     
 !
533533         if (fsrch(safefn, 0, incdir[0]))
 534534                 goto okret;
 535535 
 536536         error("cannot find '%s'", safefn);
 537537         /* error() do not return */
 538538 
<>539 -bad:    error("bad include");
  539+bad:    error("bad #include");
540540         /* error() do not return */
 541541 okret:
 542542         prtline();
 543543 }
 544544 
 545545 void
     
 !
588588 
 589589         if (fsrch(fn, ifiles->idx, ifiles->incs) == 0)
 590590                 error("cannot find '%s'", fn);
 591591         prtline();
 592592         return;
 593593 
<>594 -bad:    error("bad include");
  594+bad:    error("bad #include_next");
595595         /* error() do not return */
 596596 }
 597597 
 598598 static int
 599599 definp(void)
 600600 {
     
 !
927927         }
 928928 #endif
 929929         for (i = 0; i < narg; i++)
 930930                 free(args[i]);
 931931         return;
 932932 
<>933 -bad:    error("bad define");
  933+bad:    error("bad #define");
<_934934 }
 935935 
 936936 void
 937937 warning(const char *fmt, ...)
 938938 {
 939939         va_list ap;
FishEye: Open Source License registered to PCC.
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-12-22 13:46 +0100