#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Mon, 23 Apr 2018 22:38:36 +0200
changeset 4232 2fe8688c6d27
parent 4231 dd23f58513c0
child 4233 03bacf52b5b7
#BUGFIX by cg class: ParseNode added: #allSubNodesDo: changed: #allNodesDo: fix for https://expeccoalm.exept.de/D252290
ParseNode.st
--- a/ParseNode.st	Mon Apr 23 22:17:22 2018 +0200
+++ b/ParseNode.st	Mon Apr 23 22:38:36 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
@@ -361,7 +363,12 @@
 allNodesDo:aBlock
     "evaluate aBlock for each variable-node here and in subnodes"
 
-    aBlock value:self
+    aBlock value:self.
+    self allSubNodesDo:aBlock.
+!
+
+allSubNodesDo:aBlock
+    self subclassResponsibility.
 !
 
 messageNodesDo:aBlock