mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-09 21:49:18 +02:00
* 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:
parent
fd429612f8
commit
abeb2a3aaa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user