[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_attrs.c,1.15,1.16
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_attrs.c,1.15,1.16 |
Date: |
Sat, 15 Feb 2003 01:30:32 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/csharp
In directory subversions:/tmp/cvs-serv15145/cscc/csharp
Modified Files:
cs_attrs.c
Log Message:
ProcessAttr: don't call CSSemProgramItem if trying to apply an
attribute to itself, because it will cause a circurlarity.
Index: cs_attrs.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_attrs.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** cs_attrs.c 15 Feb 2003 02:14:53 -0000 1.15
--- cs_attrs.c 15 Feb 2003 06:30:29 -0000 1.16
***************
*** 296,301 ****
if(!IsAttributeUsage(classInfo))
{
! /* Perform semantic analysis on the attribute type */
! CSSemProgramItem(info, ILToProgramItem(classInfo));
/* Get the usage information for the attribute */
--- 296,305 ----
if(!IsAttributeUsage(classInfo))
{
! /* Perform semantic analysis on the attribute type, but only
! if we aren't trying to apply the attribute to itself */
! if(ILToProgramItem(classInfo) != item)
! {
! CSSemProgramItem(info, ILToProgramItem(classInfo));
! }
/* Get the usage information for the attribute */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_attrs.c,1.15,1.16,
Rhys Weatherley <address@hidden> <=