checkin from browser
authorClaus Gittinger <cg@exept.de>
Thu, 07 Nov 1996 22:12:58 +0100
changeset 423 67352df6730c
parent 422 bdc16e1e31ab
child 424 9f8ffd4289a4
checkin from browser
Parser.st
--- a/Parser.st	Thu Nov 07 17:58:09 1996 +0100
+++ b/Parser.st	Thu Nov 07 22:12:58 1996 +0100
@@ -1758,6 +1758,17 @@
     ].
 
     ok ifFalse:[
+        (receiver notNil
+        and:[receiver type == #GlobalVariable]) ifTrue:[
+            "dont check autoloaded classes - it may work after loading"
+
+            rec := receiver evaluate. 
+            (rec notNil 
+             and:[rec isBehavior
+             and:[rec isLoaded not]]) ifTrue:[
+                ^ aSelectorString
+            ].
+        ].
 
 "OLD: "
         self warning:('#' , aSelectorString , '\\' , err) withCRs position:pos1 to:pos2
@@ -1773,7 +1784,7 @@
     ^ aSelectorString
 
     "Modified: 5.9.1995 / 17:02:11 / claus"
-    "Modified: 14.10.1996 / 18:03:43 / cg"
+    "Modified: 7.11.1996 / 21:50:08 / cg"
 ! !
 
 !Parser methodsFor:'error handling'!
@@ -3795,6 +3806,6 @@
 !Parser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.105 1996-11-07 16:57:44 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.106 1996-11-07 21:12:58 cg Exp $'
 ! !
 Parser initialize!