mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:11:03 +02:00
* tp procvar support for ifn,whilerepeatn
git-svn-id: trunk@707 -
This commit is contained in:
parent
376865d041
commit
e64cc2fbbd
@ -227,7 +227,7 @@ implementation
|
|||||||
globtype,systems,
|
globtype,systems,
|
||||||
cutils,verbose,globals,
|
cutils,verbose,globals,
|
||||||
symconst,paramgr,defcmp,defutil,htypechk,pass_1,
|
symconst,paramgr,defcmp,defutil,htypechk,pass_1,
|
||||||
ncal,nadd,ncon,nmem,nld,ncnv,nbas,cgobj,
|
ncal,nadd,ncon,nmem,nld,ncnv,nbas,cgobj,nutils,
|
||||||
{$ifdef state_tracking}
|
{$ifdef state_tracking}
|
||||||
nstate,
|
nstate,
|
||||||
{$endif}
|
{$endif}
|
||||||
@ -364,6 +364,10 @@ implementation
|
|||||||
resulttype:=voidtype;
|
resulttype:=voidtype;
|
||||||
|
|
||||||
resulttypepass(left);
|
resulttypepass(left);
|
||||||
|
|
||||||
|
{ tp procvar support }
|
||||||
|
maybe_call_procvar(left,true);
|
||||||
|
|
||||||
{A not node can be removed.}
|
{A not node can be removed.}
|
||||||
if left.nodetype=notn then
|
if left.nodetype=notn then
|
||||||
begin
|
begin
|
||||||
@ -545,6 +549,10 @@ implementation
|
|||||||
resulttype:=voidtype;
|
resulttype:=voidtype;
|
||||||
|
|
||||||
resulttypepass(left);
|
resulttypepass(left);
|
||||||
|
|
||||||
|
{ tp procvar support }
|
||||||
|
maybe_call_procvar(left,true);
|
||||||
|
|
||||||
{ if path }
|
{ if path }
|
||||||
if assigned(right) then
|
if assigned(right) then
|
||||||
resulttypepass(right);
|
resulttypepass(right);
|
||||||
|
Loading…
Reference in New Issue
Block a user