Forráskód Böngészése

* 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 -
nickysn 12 éve
szülő
commit
abeb2a3aaa
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      compiler/pdecl.pas

+ 1 - 0
compiler/pdecl.pas

@@ -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.