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_types.c,1.30,1.31


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/c c_types.c,1.30,1.31
Date: Wed, 25 Jun 2003 07:01:20 -0400

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

Modified Files:
        c_types.c 
Log Message:


CTypeGetElemType: preserve function pointer modifiers when dereferencing
an array of function pointers.


Index: c_types.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c/c_types.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** c_types.c   16 Apr 2003 01:46:04 -0000      1.30
--- c_types.c   25 Jun 2003 11:01:18 -0000      1.31
***************
*** 1959,1963 ****
        if(field)
        {
!               return ILField_Type(field);
        }
        else
--- 1959,1971 ----
        if(field)
        {
!               type = ILFieldGetTypeWithPrefixes(field);
!               if(CTypeIsFunctionPtr(type))
!               {
!                       return type;
!               }
!               else
!               {
!                       return ILField_Type(field);
!               }
        }
        else





reply via email to

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