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_typeout.c,1.3,1.4


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/c c_typeout.c,1.3,1.4
Date: Thu, 26 Jun 2003 01:57:38 -0400

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

Modified Files:
        c_typeout.c 
Log Message:


OutputPendingClass: don't output class references, as they aren't defined
in the current module.


Index: c_typeout.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_typeout.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** c_typeout.c 14 Sep 2002 10:59:56 -0000      1.3
--- c_typeout.c 26 Jun 2003 05:57:36 -0000      1.4
***************
*** 168,171 ****
--- 168,178 ----
        ILFieldLayout *fieldLayout;
  
+       /* Ignore class references, which will normally be struct's or
+          union's that weren't fully defined in the current module */
+       if(ILClassIsRef(classInfo))
+       {
+               return;
+       }
+ 
        /* Output the class header.  We assume that there are no interfaces
           because C structs, unions, etc do not need interfaces */





reply via email to

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