Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.216
 
1.217
 
MAIN:plunky:20120730173045
 
cc.c
_>191191 int     nostdinc, nostdlib;
 192192 int     onlyas;
 193193 int     pthreads;
<>194 -int     xcflag, xgnu89, xgnu99;
  194+int     xasm, xcflag, xgnu89, xgnu99;
195195 int     ascpp;
 196196 #ifdef CHAR_UNSIGNED
 197197 int     xuchar = 1;
     
 !
649649                                         t = argv[++i];
 650650                                 if (strcmp(t, "c") == 0)
 651651                                         xcflag = 1; /* default */
<> 652+                                else if (strcmp(t, "assembler") == 0)
  653+                                        xasm = 1;
652654                                 else if (strcmp(t, "assembler-with-cpp") == 0)
 653655                                         ascpp = 1;
 654656                                 else if (strcmp(t, "c++") == 0)
     
 !
777779                                 ;
 778780                         else if ((cxxsuf(getsufp(t)) && cxxflag) ||
 779781                             (c=getsuf(t))=='c' || c=='S' || c=='i' ||
<>780 -                            c=='s'|| Eflag || xcflag) {
  782+                            c=='s'|| Eflag || xcflag || xasm) {
781783                                 clist[nc++] = t;
 782784                                 if (nc>=MAXFIL) {
 783785                                         error("Too many source files");
     
 !
792794                         }
 793795                         if ((c=getsuf(t))!='c' && c!='S' &&
 794796                             c!='s' && c!='i' && j==nl &&
<>795 -                            !(cxxsuf(getsufp(t)) && cxxflag)) {
  797+                            !(cxxsuf(getsufp(t)) && cxxflag) && !xasm) {
796798                                 llist[nl++] = t;
 797799                                 if (nl >= MAXLIB) {
 798800                                         error("Too many object/library files");
     
 !
849851                         goto com;
 850852                 } else if (ascpp) {
 851853                         onlyas = 1;
<>852 -                } else if (getsuf(clist[i])=='s') {
  854+                } else if (xasm || getsuf(clist[i])=='s') {
<_853855                         assource = clist[i];
 854856                         goto assemble;
 855857                 }
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-01 18:19 +0200