Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.106
 
1.107
 
MAIN:ragge:20080705150905
 
cc.c
_>175175 int     onlyas;
 176176 int     pthreads;
 177177 int     xcflag;
<> 178+int     ascpp;
178179 
 179180 char    *passp = LIBEXECDIR "/" PREPROCESSOR;
 180181 char    *pass0 = LIBEXECDIR "/" COMPILER;
     
 !
386387                                         t = argv[++i];
 387388                                 if (strcmp(t, "c") == 0)
 388389                                         xcflag = 1; /* default */
<> 390+                                else if (strcmp(t, "assembler-with-cpp") == 0)
  391+                                        ascpp = 1;
389392 #ifdef notyet
 390393                                 else if (strcmp(t, "c++")
 391394                                         cxxflag++;
     
 !
531534                         printf("%s:\n", clist[i]);
 532535                 onlyas = 0;
 533536                 assource = tmp3;
<> 537+                if (getsuf(clist[i])=='S')
  538+                        ascpp = 1;
534539                 if (getsuf(clist[i])=='i') {
 535540                         if(Eflag)
 536541                                 continue;
 537542                         goto com;
<> 543+                } else if (ascpp) {
  544+                        onlyas = 1;
538545                 } else if (getsuf(clist[i])=='s') {
 539546                         assource = clist[i];
 540547                         goto assemble;
<>541 -                } else if (getsuf(clist[i])=='S')
 542 -                        onlyas = 1;
  548+                }
543549                 if (pflag)
 544550                         tmp4 = setsuf(clist[i], 'i');
 545551                 na = 0;
     
 !
549555                 av[na++] = "-D__PCC__=" MKS(PCC_MAJOR);
 550556                 av[na++] = "-D__PCC_MINOR__=" MKS(PCC_MINOR);
 551557                 av[na++] = "-D__PCC_MINORMINOR__=" MKS(PCC_MINORMINOR);
<>552 -                if (getsuf(clist[i])=='S')
  558+                if (ascpp)
<_553559                         av[na++] = "-D__ASSEMBLER__";
 554560                 if (sspflag)
 555561                         av[na++] = "-D__SSP__=1";
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:30 +0100