mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 06:58:25 +02:00
* allow also procvar calls with a postfix operation after a calln
git-svn-id: trunk@1476 -
This commit is contained in:
parent
8b60dbe4cb
commit
b55645790b
@ -202,7 +202,7 @@ implementation
|
|||||||
|
|
||||||
function foreachnodestatic(var n: tnode; f: staticforeachnodefunction; arg: pointer): boolean;
|
function foreachnodestatic(var n: tnode; f: staticforeachnodefunction; arg: pointer): boolean;
|
||||||
begin
|
begin
|
||||||
foreachnodestatic(pm_postprocess,n,f,arg);
|
result:=foreachnodestatic(pm_postprocess,n,f,arg);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ implementation
|
|||||||
end;
|
end;
|
||||||
until false;
|
until false;
|
||||||
{ a tempref is used when it is loaded from a withsymtable }
|
{ a tempref is used when it is loaded from a withsymtable }
|
||||||
if (hp.nodetype in [loadn,temprefn]) then
|
if (hp.nodetype in [calln,loadn,temprefn]) then
|
||||||
begin
|
begin
|
||||||
hp:=ccallnode.create_procvar(nil,p1);
|
hp:=ccallnode.create_procvar(nil,p1);
|
||||||
resulttypepass(hp);
|
resulttypepass(hp);
|
||||||
|
Loading…
Reference in New Issue
Block a user