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.40,1.41


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.40,1.41
Date: Fri, 23 May 2003 22:35:28 -0400

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

Modified Files:
        cs_gather.c 
Log Message:


Suppress an unnecessary warning if "new" is set but the code thinks
that there is an override.


Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** cs_gather.c 11 Mar 2003 15:13:57 -0000      1.40
--- cs_gather.c 24 May 2003 02:35:26 -0000      1.41
***************
*** 1122,1126 ****
                        {
                                /* Check for the correct form of virtual method 
overrides */
!                               if((method->modifiers & 
CS_SPECIALATTR_OVERRIDE) == 0)
                                {
                                        CCWarningOnLine(yygetfilename(method), 
yygetlinenum(method),
--- 1122,1127 ----
                        {
                                /* Check for the correct form of virtual method 
overrides */
!                               if((method->modifiers & 
CS_SPECIALATTR_OVERRIDE) == 0 &&
!                                  (method->modifiers & CS_SPECIALATTR_NEW) == 
0)
                                {
                                        CCWarningOnLine(yygetfilename(method), 
yygetlinenum(method),





reply via email to

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