* set the fileinfo of typeconversions created using inserttypeconv*()

to that of the left node
  * same for a typeconversion inserted in the typecheck pass of
    taddrnode

git-svn-id: trunk@13579 -
This commit is contained in:
Jonas Maebe 2009-08-22 22:11:03 +00:00
parent 1f5d9b932f
commit 2f7457f37e
2 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,7 @@ implementation
else
begin
p:=ctypeconvnode.create(p,def);
p.fileinfo:=ttypeconvnode(p).left.fileinfo;
typecheckpass(p);
end;
end;
@ -270,6 +271,7 @@ implementation
else
begin
p:=ctypeconvnode.create_internal(p,def);
p.fileinfo:=ttypeconvnode(p).left.fileinfo;
typecheckpass(p);
end;
end;

View File

@ -402,6 +402,7 @@ implementation
if not isprocvar then
begin
left:=ctypeconvnode.create_proc_to_procvar(left);
left.fileinfo:=fileinfo;
typecheckpass(left);
end;