mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:09:30 +02:00
+ also support 'external near' var declarations on i8086
git-svn-id: trunk@37536 -
This commit is contained in:
parent
5b766a1e67
commit
49a96af874
@ -924,10 +924,14 @@ implementation
|
|||||||
try_to_consume(_EXTERNAL) then
|
try_to_consume(_EXTERNAL) then
|
||||||
begin
|
begin
|
||||||
is_external_var:=true;
|
is_external_var:=true;
|
||||||
{ far? }
|
{ near/far? }
|
||||||
if (target_info.system in systems_allow_external_far_var) and
|
if target_info.system in systems_allow_external_far_var then
|
||||||
try_to_consume(_FAR) then
|
begin
|
||||||
is_far:=true;
|
if try_to_consume(_FAR) then
|
||||||
|
is_far:=true
|
||||||
|
else if try_to_consume(_NEAR) then
|
||||||
|
is_far:=false;
|
||||||
|
end;
|
||||||
if (idtoken<>_NAME) and (token<>_SEMICOLON) then
|
if (idtoken<>_NAME) and (token<>_SEMICOLON) then
|
||||||
begin
|
begin
|
||||||
is_dll:=true;
|
is_dll:=true;
|
||||||
|
Loading…
Reference in New Issue
Block a user