mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 16:19:28 +02:00
* also process methodpointerinit and methodpointerdone fields
of calln in foreachnode*() git-svn-id: trunk@2183 -
This commit is contained in:
parent
5e631df4cc
commit
24c3ec1095
@ -110,7 +110,9 @@ implementation
|
||||
calln:
|
||||
begin
|
||||
{ not in one statement, won't work because of b- }
|
||||
result := foreachnode(tcallnode(n).methodpointerinit,f,arg) or result;
|
||||
result := foreachnode(tcallnode(n).methodpointer,f,arg) or result;
|
||||
result := foreachnode(tcallnode(n).methodpointerdone,f,arg) or result;
|
||||
end;
|
||||
ifn, whilerepeatn, forn:
|
||||
begin
|
||||
@ -148,7 +150,9 @@ implementation
|
||||
case n.nodetype of
|
||||
calln:
|
||||
begin
|
||||
result := foreachnodestatic(procmethod,tcallnode(n).methodpointerinit,f,arg) or result;
|
||||
result := foreachnodestatic(procmethod,tcallnode(n).methodpointer,f,arg) or result;
|
||||
result := foreachnodestatic(procmethod,tcallnode(n).methodpointerdone,f,arg) or result;
|
||||
end;
|
||||
ifn, whilerepeatn, forn:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user