Parser.st
changeset 3384 259912193505
parent 3383 df9a57cd00ce
child 3386 aa3df46a7c15
--- a/Parser.st	Sun Feb 23 00:54:53 2014 +0100
+++ b/Parser.st	Sun Feb 23 04:23:50 2014 +0100
@@ -8580,7 +8580,10 @@
             ]
         ].
 "/    ].
-    self parseError:'undeclared variable: ',tokenName.
+    "/ do not raise parseError here, but instead report it a the old stupid #Error token.
+    "/ this is required here so that the caller can check for an assignment,
+    "/ and autodefine workspace- and doIt variables.
+    "/ self parseError:'undeclared variable: ',tokenName.
     ^ #Error
 
     "Modified: / 18-01-2011 / 18:02:32 / cg"
@@ -11781,11 +11784,11 @@
 !Parser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.805 2014-02-22 23:54:53 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.806 2014-02-23 03:23:50 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.805 2014-02-22 23:54:53 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.806 2014-02-23 03:23:50 cg Exp $'
 !
 
 version_SVN