mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 15:47:51 +02:00
+ foreachnode* must also iterate through the new introduced temp. initialization field
git-svn-id: trunk@14764 -
This commit is contained in:
parent
ea6c6631a4
commit
69a23fe32a
@ -130,6 +130,10 @@ implementation
|
||||
raisen:
|
||||
{ frame tree }
|
||||
result := foreachnode(traisenode(n).third,f,arg) or result;
|
||||
tempcreaten:
|
||||
{ temp. initialization code }
|
||||
if assigned(ttempcreatenode(n).tempinfo^.tempinitcode) then
|
||||
result := foreachnode(ttempcreatenode(n).tempinfo^.tempinitcode,f,arg) or result;
|
||||
casen:
|
||||
begin
|
||||
for i := 0 to tcasenode(n).blocks.count-1 do
|
||||
@ -209,6 +213,10 @@ implementation
|
||||
raisen:
|
||||
{ frame tree }
|
||||
result := foreachnodestatic(traisenode(n).third,f,arg) or result;
|
||||
tempcreaten:
|
||||
{ temp. initialization code }
|
||||
if assigned(ttempcreatenode(n).tempinfo^.tempinitcode) then
|
||||
result := foreachnodestatic(ttempcreatenode(n).tempinfo^.tempinitcode,f,arg) or result;
|
||||
casen:
|
||||
begin
|
||||
for i := 0 to tcasenode(n).blocks.count-1 do
|
||||
|
Loading…
Reference in New Issue
Block a user