mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:59:26 +02:00
tfileposinfo: separate types for the fields
Allows other units to declare variables of the appropriate type when storing those values separately
This commit is contained in:
parent
b7b495a679
commit
5075198a8b
@ -837,13 +837,17 @@ interface
|
||||
plongint = ^longint;
|
||||
plongintarray = plongint;
|
||||
|
||||
tfileposline = longint;
|
||||
tfileposcolumn = word;
|
||||
tfileposfileindex = word;
|
||||
tfileposmoduleindex = word;
|
||||
pfileposinfo = ^tfileposinfo;
|
||||
tfileposinfo = record
|
||||
{ if types of column or fileindex are changed, modify tcompilerppufile.putposinfo }
|
||||
line : longint;
|
||||
column : word;
|
||||
fileindex : word;
|
||||
moduleindex : word;
|
||||
line : tfileposline;
|
||||
column : tfileposcolumn;
|
||||
fileindex : tfileposfileindex;
|
||||
moduleindex : tfileposmoduleindex;
|
||||
end;
|
||||
|
||||
{$ifndef xFPC}
|
||||
|
Loading…
Reference in New Issue
Block a user