Browse Source

Merged revisions 1476 via svnmerge from
http://[email protected]/svn/fpc/trunk

r1476 (peter)
* allow also procvar calls with a postfix operation after a calln

git-svn-id: branches/fixes_2_0@1511 -

peter 20 years ago
parent
commit
59834b5d45
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/nutils.pas

+ 1 - 1
compiler/nutils.pas

@@ -243,7 +243,7 @@ implementation
           end;
         until false;
         { 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
             hp:=ccallnode.create_procvar(nil,p1);
             resulttypepass(hp);