better warning message
authorClaus Gittinger <cg@exept.de>
Fri, 24 Nov 1995 11:51:20 +0100
changeset 143 1008a91b7bc1
parent 142 c5fd93e97594
child 144 f28ab79db022
better warning message
Parser.st
--- a/Parser.st	Thu Nov 23 12:17:11 1995 +0100
+++ b/Parser.st	Fri Nov 24 11:51:20 1995 +0100
@@ -12,16 +12,16 @@
 
 Scanner subclass:#Parser
 	 instanceVariableNames:'classToCompileFor selfValue contextToEvaluateIn selector
-                methodArgs methodArgNames methodVars methodVarNames tree
-                currentBlock parseForCode usedInstVars usedClassVars usedVars
-                modifiedInstVars modifiedClassVars modifiedGlobals usesSuper
-                usedGlobals usedSymbols usedMessages localVarDefPosition
-                evalExitBlock selfNode superNode hasPrimitiveCode
-                hasNonOptionalPrimitiveCode primitiveNr primitiveResource logged
-                warnedUndefVars warnSTXHereExtensionUsed correctedSource'
+		methodArgs methodArgNames methodVars methodVarNames tree
+		currentBlock parseForCode usedInstVars usedClassVars usedVars
+		modifiedInstVars modifiedClassVars modifiedGlobals usesSuper
+		usedGlobals usedSymbols usedMessages localVarDefPosition
+		evalExitBlock selfNode superNode hasPrimitiveCode
+		hasNonOptionalPrimitiveCode primitiveNr primitiveResource logged
+		warnedUndefVars warnSTXHereExtensionUsed correctedSource'
 	 classVariableNames:'PrevClass PrevInstVarNames PrevClassVarNames
-                PrevClassInstVarNames LazyCompilation ArraysAreImmutable
-                ImplicitSelfSends'
+		PrevClassInstVarNames LazyCompilation ArraysAreImmutable
+		ImplicitSelfSends'
 	 poolDictionaries:''
 	 category:'System-Compiler'
 !
@@ -151,7 +151,7 @@
 !
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.57 1995-11-23 02:22:24 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.58 1995-11-24 10:51:20 cg Exp $'
 ! !
 
 !Parser class methodsFor:'instance creation'!
@@ -1407,7 +1407,8 @@
 	err := ' is currently nowhere implemented ..
 .. but a variable with that name is defined. 
 
-Missing ''.'' after the previous expression ?'.
+Missing ''.'' after the previous expression 
+or missing keyword/receiver before that word ?'.
     ].
 
     "