|
@@ -94,7 +94,8 @@ implementation
|
|
|
defutil,
|
|
|
htypechk,pass_1,
|
|
|
cgbase,
|
|
|
- ncon,ncnv,ncal,nadd;
|
|
|
+ ncon,ncnv,ncal,nadd,
|
|
|
+ nutils;
|
|
|
|
|
|
{****************************************************************************
|
|
|
TMODDIVNODE
|
|
@@ -164,6 +165,10 @@ implementation
|
|
|
if codegenerror then
|
|
|
exit;
|
|
|
|
|
|
+ { tp procvar support }
|
|
|
+ maybe_call_procvar(left,true);
|
|
|
+ maybe_call_procvar(right,true);
|
|
|
+
|
|
|
result:=simplify;
|
|
|
if assigned(result) then
|
|
|
exit;
|
|
@@ -495,6 +500,10 @@ implementation
|
|
|
if codegenerror then
|
|
|
exit;
|
|
|
|
|
|
+ { tp procvar support }
|
|
|
+ maybe_call_procvar(left,true);
|
|
|
+ maybe_call_procvar(right,true);
|
|
|
+
|
|
|
result:=simplify;
|
|
|
if assigned(result) then
|
|
|
exit;
|
|
@@ -853,6 +862,9 @@ implementation
|
|
|
if codegenerror then
|
|
|
exit;
|
|
|
|
|
|
+ { tp procvar support }
|
|
|
+ maybe_call_procvar(left,true);
|
|
|
+
|
|
|
resultdef:=left.resultdef;
|
|
|
|
|
|
result:=simplify;
|