mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 13:28:07 +02:00
Fixed variant discriminator types
This commit is contained in:
parent
4f77cbbac4
commit
4426d0da7a
@ -36,10 +36,10 @@ type
|
|||||||
|
|
||||||
TMachOSubMachineType = record
|
TMachOSubMachineType = record
|
||||||
case TMachOMachineType of
|
case TMachOMachineType of
|
||||||
msmppc_all: (fPpcSubType: TMachOSubMachineTypePowerPC);
|
mmtpowerpc: (fPpcSubType: TMachOSubMachineTypePowerPC);
|
||||||
msmppc64_all: (fPpc64SubType: TMachOSubMachineTypePowerPC64);
|
mmtpowerpc64: (fPpc64SubType: TMachOSubMachineTypePowerPC64);
|
||||||
msm386_all: (f386SubType: TMachOSubMachineType386);
|
mmti386: (f386SubType: TMachOSubMachineType386);
|
||||||
msmx64_all: (fX64SubType: TMachOSubMachineTypex64);
|
mmtx86_64: (fX64SubType: TMachOSubMachineTypex64);
|
||||||
mmtarm: (fArmSubType: TMachOSubMachineTypeArm);
|
mmtarm: (fArmSubType: TMachOSubMachineTypeArm);
|
||||||
mmtarm64: (fArm64SubType: TMachOSubMachineTypeAarch64);
|
mmtarm64: (fArm64SubType: TMachOSubMachineTypeAarch64);
|
||||||
end;
|
end;
|
||||||
|
@ -537,7 +537,7 @@ type
|
|||||||
case TTypeKind of
|
case TTypeKind of
|
||||||
tkInteger,tkChar,tkEnumeration,tkBool,tkWChar: (
|
tkInteger,tkChar,tkEnumeration,tkBool,tkWChar: (
|
||||||
MinValue,MaxValue : Longint;
|
MinValue,MaxValue : Longint;
|
||||||
case byte of
|
case TTypeKind of
|
||||||
tkEnumeration: (
|
tkEnumeration: (
|
||||||
BaseTypeRef : pointer
|
BaseTypeRef : pointer
|
||||||
);
|
);
|
||||||
|
@ -5,8 +5,8 @@ type
|
|||||||
tb = (e1,e2);
|
tb = (e1,e2);
|
||||||
tr = record
|
tr = record
|
||||||
case a: byte of
|
case a: byte of
|
||||||
-1,'c'..ea,e2..-5: (l: longint);
|
0..5: (l: longint);
|
||||||
'b'..eb,-1,-1,-1..-38,-100..e2: (c: cardinal);
|
100..20: (c: cardinal);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user