* fixed the far pointer size not being updated after reading the near/far type modifier, which caused far pointers to be allocated only 2 bytes

git-svn-id: trunk@24554 -
This commit is contained in:
nickysn 2013-05-22 16:44:05 +00:00
parent fd429612f8
commit abeb2a3aaa

View File

@ -730,6 +730,7 @@ implementation
tpointerdef(hdef).x86pointertyp:=x86pt_near;
consume(_SEMICOLON);
end;
tpointerdef(hdef).update_savesize;
{$else x86}
{ Previous versions of FPC support declaring a pointer as
far even on non-x86 platforms.