mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 22:29:23 +02:00
* support 'x1f' and 'X1f' for hex notation in val() (Delphi compatibility,
mantis 8177) git-svn-id: trunk@6204 -
This commit is contained in:
parent
ca4412e09f
commit
6c578f55df
@ -670,7 +670,9 @@ begin
|
||||
if code<=length(s) then
|
||||
begin
|
||||
case s[code] of
|
||||
'$' : begin
|
||||
'$',
|
||||
'X',
|
||||
'x' : begin
|
||||
base:=16;
|
||||
inc(code);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user