dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.34,1.35


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.34,1.35
Date: Sun, 12 Jan 2003 16:15:53 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv25883/cscc/csharp

Modified Files:
        cs_gather.c 
Log Message:


Remove the "fix" for classes ending in "Attribute" because it breaks
attribute classes that do not end in "Attribute".


Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** cs_gather.c 12 Jan 2003 18:31:42 -0000      1.34
--- cs_gather.c 12 Jan 2003 21:15:51 -0000      1.35
***************
*** 91,95 ****
        const char *namespace;
        const char *baseName;
-       int namelen;
        int numBases;
        ILClass **baseList;
--- 91,94 ----
***************
*** 227,243 ****
                        CCErrorOnLine(yygetfilename(baseNode), 
yygetlinenum(baseNode),
                                                  "invalid base type");
-               }
-               if(baseList[base] && 
ILTypeIdentical(ILType_FromClass(baseList[base]),
-                                                               
ILFindSystemType(info,"Attribute")))
-               {
-                               
-                       namelen=strlen(name);
-                       if(namelen < 9 || strcmp(name + namelen - 9, 
"Attribute") != 0)
-                       {
-                               defn->name = ILInternAppendedString
-                                                               
(ILInternString(defn->name, namelen),
-                                                                
ILInternString("Attribute", 9)).string;
-                               name=defn->name;
-                       }
                }
        }
--- 226,229 ----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]