* treat the nil node as equal to near, far and all the special x86 pointer types

git-svn-id: trunk@24851 -
This commit is contained in:
nickysn 2013-06-09 19:04:03 +00:00
parent 2809ed6fb9
commit 6431ebe7f3

View File

@ -1282,7 +1282,10 @@ implementation
{ check for far pointers }
if (tpointerdef(def_from).x86pointertyp<>tpointerdef(def_to).x86pointertyp) then
begin
eq:=te_incompatible;
if fromtreetype=niln then
eq:=te_equal
else
eq:=te_incompatible;
end
else
{$endif x86}