mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-06-02 04:02:30 +02:00
* Fix bug ID 37544 (add overload modifier for CharInSet)
This commit is contained in:
parent
02a759f94d
commit
bb2faaa7fe
@ -186,7 +186,7 @@ Const
|
||||
HexDisplayPrefix: string = '$';
|
||||
LeadBytes = [] unimplemented;
|
||||
|
||||
Function CharInSet(Ch: Char;Const CSet : array of char) : Boolean;
|
||||
Function CharInSet(Ch: Char;Const CSet : array of char) : Boolean; overload;
|
||||
|
||||
function LeftStr(const S: string; Count: Integer): String; assembler;
|
||||
function RightStr(const S: string; Count: Integer): String; assembler;
|
||||
@ -1254,13 +1254,13 @@ end;
|
||||
Type
|
||||
TCharSet = Set of Char;
|
||||
|
||||
Function CharInSet(Ch: Char;Const CSet : TCharSet) : Boolean;
|
||||
Function CharInSet(Ch: Char;Const CSet : TCharSet) : Boolean; overload;
|
||||
|
||||
begin
|
||||
Result:=Ch in CSet;
|
||||
end;
|
||||
|
||||
function CharInSet(Ch: Char; const CSet: array of char): Boolean;
|
||||
function CharInSet(Ch: Char; const CSet: array of char): Boolean; overload;
|
||||
|
||||
Var
|
||||
I : integer;
|
||||
|
Loading…
Reference in New Issue
Block a user