--- a/Parser.st Tue Dec 05 21:59:06 2017 +0000
+++ b/Parser.st Wed Dec 20 22:56:48 2017 +0000
@@ -3077,6 +3077,12 @@
"intentionally left empty"
!
+markThisContextFrom:pos1 to:pos2
+ "intentionally left empty"
+
+ "Created: / 20-12-2017 / 21:58:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
markUnknownIdentifierFrom:pos1 to:pos2
"intentionally left empty"
!
@@ -4231,7 +4237,7 @@
err notNil ifTrue:[
isSyntaxHighlighter ifTrue:[
posVector do:[:p |
- self markBadIdentifierFrom:(p start) to:(p stop).
+ self markSelector:aSelectorString from:p start to:p stop receiverNode:receiver.
].
] ifFalse:[
self classToCompileFor notNil ifTrue:[
@@ -4422,7 +4428,7 @@
].
isSyntaxHighlighter ifTrue:[
posVector do:[:p |
- self markUnknownIdentifierFrom:(p start) to:(p stop).
+ self markSelector:aSelectorString from:p start to:p stop receiverNode:receiver.
].
] ifFalse:[
self isDoIt ifTrue:[
@@ -4445,6 +4451,7 @@
"Modified: / 05-09-1995 / 17:02:11 / claus"
"Modified: / 16-03-2017 / 11:36:48 / cg"
+ "Modified: / 20-12-2017 / 22:39:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
typeOfNode:aNode
@@ -8469,12 +8476,12 @@
(self noAssignmentAllowed:'Assignment to pseudo variable ''thisContext''' at:pos) ifFalse:[
^ #Error
].
- self markIdentifierFrom:pos to:pos+10.
+ self markThisContextFrom:pos to:pos+10.
^ (VariableNode type:#ThisContext context:contextToEvaluateIn "often nil")
startPosition: pos endPosition: pos + 10
- "Modified: / 19-07-2011 / 18:14:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 26-07-2012 / 11:38:01 / cg"
+ "Modified: / 20-12-2017 / 21:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
primary_true