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.25,1.26


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc/csharp cs_gather.c,1.25,1.26
Date: Fri, 15 Nov 2002 20:44:30 -0500

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

Modified Files:
        cs_gather.c 
Log Message:
fix scoping bug that was breaking cscctest


Index: cs_gather.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/csharp/cs_gather.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** cs_gather.c 16 Nov 2002 01:02:30 -0000      1.25
--- cs_gather.c 16 Nov 2002 01:44:28 -0000      1.26
***************
*** 1754,1765 ****
                        }
                        
-                       /* NOTE: this is sure to be a subscope of globalscope 
-                        *       and yet can contain the type correctly.*/
                        
aliasScope=((ILNode_Namespace*)(defn->namespaceNode))->localScope;
-                       if(!aliasScope)aliasScope=parentScope; /* making sure */
                        
!                       error = ILScopeDeclareType(aliasScope, child,
                                                                           
name, namespace, &scope,
!                                                                          
&origDefn);
  
                        if(error != IL_SCOPE_ERROR_OK)
--- 1754,1762 ----
                        }
                        
                        
aliasScope=((ILNode_Namespace*)(defn->namespaceNode))->localScope;
                        
!                       error = ILScopeDeclareType(parentScope, child,
                                                                           
name, namespace, &scope,
!                                                                          
&origDefn,aliasScope);
  
                        if(error != IL_SCOPE_ERROR_OK)





reply via email to

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