dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/image meta_build.c,1.38,1.39


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/image meta_build.c,1.38,1.39
Date: Tue, 25 Nov 2003 00:33:57 +0000

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv26305/image

Modified Files:
        meta_build.c 
Log Message:


ResolveTypeRefs: if a TypeRef to a foreign assembly/module remains
unresolvable and there are redo items, then queue the TypeRef for redo also.


Index: meta_build.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/meta_build.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** meta_build.c        24 Nov 2003 11:19:48 -0000      1.38
--- meta_build.c        25 Nov 2003 00:33:54 -0000      1.39
***************
*** 588,591 ****
--- 588,596 ----
                                                        importInfo = 
ILClassLookup
                                                                (importScope, 
name, namespace);
+                                                       if(!importInfo && 
image->context->numRedoItems != 0)
+                                                       {
+                                                               /* This 
reference may need to be redone */
+                                                               goto redo;
+                                                       }
                                                }
                                        }
***************
*** 594,597 ****
--- 599,603 ----
                                                /* We cannot resolve this 
TypeRef yet.  We queue it
                                                   on the "redo" list to be 
redone later */
+                                       redo:
                                                
if(!AddToRedoList(image->context, &(info->programItem)))
                                                {





reply via email to

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