Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.127
 
1.128
 
MAIN:ragge:20110327131236
 
cpp.c
_>6868 #define DDPRINT(x)
 6969 #endif
 7070 
<>71 -#define GCC_VARI
 72 -
7371 int ofd;
 7472 usch outbuf[CPPBUF];
 7573 int obufp, istty;
     
 !
616614         int c, i, redef;
 617615         int mkstr = 0, narg = -1;
 618616         int ellips = 0;
<>619 -#ifdef GCC_VARI
  617+#ifdef GCC_COMPAT
620618         usch *gccvari = NULL;
 621619         int wascon;
 622620 #endif
     
 !
661659                                                 goto bad;
 662660                                         continue;
 663661                                 }
<>664 -#ifdef GCC_VARI
  662+#ifdef GCC_COMPAT
665663                                 if (c == '.' && isell()) {
 666664                                         if (definp() != ')')
 667665                                                 goto bad;
     
 !
689687                 if ((c = sloscan()) == '#')
 690688                         goto bad;
 691689                 savch('\0');
<>692 -#ifdef GCC_VARI
  690+#ifdef GCC_COMPAT
693691                 wascon = 0;
 694692 #endif
 695693                 goto in2;
     
 !
698696         /* parse replacement-list, substituting arguments */
 699697         savch('\0');
 700698         while (c != '\n') {
<>701 -#ifdef GCC_VARI
  699+#ifdef GCC_COMPAT
702700                 wascon = 0;
 703701 loop:
 704702 #endif
     
 !
715713                                 savch(CONC);
 716714                                 if ((c = sloscan()) == WSPACE)
 717715                                         c = sloscan();
<>718 -#ifdef GCC_VARI
  716+#ifdef GCC_COMPAT
719717                                 if (c == '\n')
 720718                                         break;
 721719                                 wascon = 1;
     
 !
731729                                 savch(CONC);
 732730                                 if ((c = sloscan()) == WSPACE)
 733731                                         c = sloscan();
<>734 -#ifdef GCC_VARI
  732+#ifdef GCC_COMPAT
735733                                 if (c == '\n')
 736734                                         break;
 737735                                 wascon = 1;
     
 !
758756                         if (strcmp((char *)yytext, "__VA_ARGS__") == 0) {
 759757                                 if (ellips == 0)
 760758                                         error("unwanted %s", yytext);
<> 759+#ifdef GCC_COMPAT
  760+                                savch(wascon ? GCCARG : VARG);
  761+#else
761762                                 savch(VARG);
<> 763+#endif
  764+
762765                                 savch(WARN);
 763766                                 if (mkstr)
 764767                                         savch(SNUFF), mkstr = 0;
     
 !
771774                                 if (strcmp((char *)yytext, (char *)args[i]) == 0)
 772775                                         break;
 773776                         if (i == narg) {
<>774 -#ifdef GCC_VARI
  777+#ifdef GCC_COMPAT
775778                                 if (gccvari &&
 776779                                     strcmp((char *)yytext, (char *)gccvari) == 0) {
 777780                                         savch(wascon ? GCCARG : VARG);
     
 !
812815                 else
 813816                         break;
 814817         }
<>815 -#ifdef GCC_VARI
  818+#ifdef GCC_COMPAT
816819         if (gccvari) {
 817820                 savch(narg);
 818821                 savch(VARG);
     
 !
14931496                         if (sp[-1] == VARG) {
 14941497                                 bp = ap = args[narg];
 14951498                                 sp--;
<>1496 -#ifdef GCC_VARI
  1499+#ifdef GCC_COMPAT
<_14971500                         } else if (sp[-1] == GCCARG) {
 14981501                                 ap = args[narg];
 14991502                                 if (ap[0] == 0)
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-30 15:32 +0100