mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:39:25 +02:00
* Int64 support for AsType
This commit is contained in:
parent
7b3fcc2a2e
commit
a1a0c0e9ba
@ -570,6 +570,10 @@ begin
|
||||
if (lTmp.I32<Lows[lOrd]) or (lTmp.I32>Highs[lOrd]) then
|
||||
raise EConvertError.CreateFmt('Integer not in range %d to %s',[Lows[lOrd],Highs[lOrd]]);
|
||||
end;
|
||||
tkInt64 :
|
||||
begin
|
||||
lTmp.I64:=StrToInt64(S);
|
||||
end;
|
||||
tkEnumeration:
|
||||
begin
|
||||
lTmp.I32:=GetEnumValue(aInfo,S);
|
||||
|
Loading…
Reference in New Issue
Block a user