*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Wed, 29 Mar 2000 21:17:54 +0200
changeset 1043 08ad8eb7532d
parent 1042 d192446cb745
child 1044 03b2cc4a5d5f
*** empty log message ***
Parser.st
--- a/Parser.st	Wed Mar 29 00:03:25 2000 +0200
+++ b/Parser.st	Wed Mar 29 21:17:54 2000 +0200
@@ -10,6 +10,8 @@
  hereby transferred.
 "
 
+"{ Package: 'stx:libcomp' }"
+
 Scanner subclass:#Parser
 	instanceVariableNames:'classToCompileFor selfValue contextToEvaluateIn selector
 		methodArgs methodArgNames methodVars methodVarNames tree
@@ -4999,8 +5001,14 @@
     currentSpace := self currentNameSpace.
     (currentSpace notNil
     and:[currentSpace ~~ Smalltalk]) ifTrue:[
-        (currentSpace at:aVariableName) notNil ifTrue:[
-            ^ currentSpace
+        currentSpace isNameSpace ifTrue:[
+            (currentSpace at:aVariableName) notNil ifTrue:[
+                ^ currentSpace
+            ]
+        ] ifFalse:[
+            (currentSpace privateClassesAt:aVariableName) notNil ifTrue:[
+                ^ currentSpace
+            ]
         ]
     ].
 
@@ -5441,6 +5449,6 @@
 !Parser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.244 2000-03-28 22:03:25 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.245 2000-03-29 19:17:54 cg Exp $'
 ! !
 Parser initialize!