mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 19:50:17 +02:00
* allow making a value of a enumeration
git-svn-id: trunk@37068 -
This commit is contained in:
parent
b1439c066a
commit
820ba03ef0
@ -582,6 +582,7 @@ begin
|
||||
tkProcVar : result.FData.FAsMethod.Code := PCodePointer(ABuffer)^;
|
||||
tkMethod : result.FData.FAsMethod := PMethod(ABuffer)^;
|
||||
tkPointer : result.FData.FAsPointer := PPointer(ABuffer)^;
|
||||
tkEnumeration,
|
||||
tkInteger : begin
|
||||
case GetTypeData(ATypeInfo)^.OrdType of
|
||||
otSByte: result.FData.FAsSByte := PShortInt(ABuffer)^;
|
||||
|
Loading…
Reference in New Issue
Block a user