|
@@ -3848,10 +3848,18 @@ implementation
|
|
get_max_value(resultnode.resultdef)))
|
|
get_max_value(resultnode.resultdef)))
|
|
else
|
|
else
|
|
inserttypeconv(hpp,resultnode.resultdef);
|
|
inserttypeconv(hpp,resultnode.resultdef);
|
|
|
|
+
|
|
{ avoid any possible warnings }
|
|
{ avoid any possible warnings }
|
|
inserttypeconv_internal(hpp,resultnode.resultdef);
|
|
inserttypeconv_internal(hpp,resultnode.resultdef);
|
|
|
|
|
|
addstatement(newstatement,cassignmentnode.create(resultnode,hpp));
|
|
addstatement(newstatement,cassignmentnode.create(resultnode,hpp));
|
|
|
|
+
|
|
|
|
+ { force pass 1, so copied tries get first pass'ed as well and flags like nf_write, nf_call_unique
|
|
|
|
+ get set right }
|
|
|
|
+ node_reset_flags(newstatement.statement,[nf_pass1_done]);
|
|
|
|
+ { firstpass it }
|
|
|
|
+ firstpass(tnode(newstatement.left));
|
|
|
|
+
|
|
{ deallocate the temp }
|
|
{ deallocate the temp }
|
|
if assigned(tempnode) then
|
|
if assigned(tempnode) then
|
|
addstatement(newstatement,ctempdeletenode.create(tempnode));
|
|
addstatement(newstatement,ctempdeletenode.create(tempnode));
|