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/c c_grammar.y,1.43,1.44 c_types.c,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/c c_grammar.y,1.43,1.44 c_types.c,1.28,1.29
Date: Wed, 12 Mar 2003 02:42:34 -0500

Update of /cvsroot/dotgnu-pnet/pnet/cscc/c
In directory subversions:/tmp/cvs-serv18907/cscc/c

Modified Files:
        c_grammar.y c_types.c 
Log Message:


Break circularities in the computation of struct hashes; always rename
anonymous structures, even if they are within a surrounding struct (Bug #2778).


Index: c_grammar.y
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_grammar.y,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** c_grammar.y 16 Feb 2003 23:52:43 -0000      1.43
--- c_grammar.y 12 Mar 2003 07:42:32 -0000      1.44
***************
*** 1747,1752 ****
  
                                /* Terminate the structure definition */
!                               $$ = CTypeEndStruct(&CCCodeGen, 
$<structInfo>3.type,
!                                                               (currentStruct 
== 0));
                        }
        | StructOrUnion AnyIdentifier   {
--- 1747,1751 ----
  
                                /* Terminate the structure definition */
!                               $$ = CTypeEndStruct(&CCCodeGen, 
$<structInfo>3.type, 1);
                        }
        | StructOrUnion AnyIdentifier   {

Index: c_types.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_types.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** c_types.c   16 Feb 2003 23:52:43 -0000      1.28
--- c_types.c   12 Mar 2003 07:42:32 -0000      1.29
***************
*** 1145,1150 ****
                        MD5HashAddChar(md5, structKind + 100);
                        MD5HashAddName(md5, ILType_ToValueType(type));
-                       MD5HashFields(md5, ILType_ToValueType(type));
-                       MD5HashAddChar(md5, IL_META_ELEMTYPE_END);
                }
                else if(CTypeIsOpenArray(type))
--- 1145,1148 ----





reply via email to

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