mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 07:47:59 +02:00
* change ChangeMessageVerbosity from String to AnsiString as long parameters might be passed to it
This commit is contained in:
parent
5562e3e440
commit
598da1936e
@ -83,7 +83,7 @@ interface
|
||||
procedure RestoreLocalVerbosity(pstate : pmessagestaterecord);
|
||||
procedure FreeLocalVerbosity(var fstate : pmessagestaterecord);
|
||||
|
||||
function ChangeMessageVerbosity(s: string; var i: integer;state:tmsgstate): boolean;
|
||||
function ChangeMessageVerbosity(s: ansistring; var i: integer;state:tmsgstate): boolean;
|
||||
procedure ShowStatus;
|
||||
function ErrorCount:longint;
|
||||
procedure SetErrorFlags(const s:string);
|
||||
@ -218,9 +218,9 @@ implementation
|
||||
end;
|
||||
end;
|
||||
|
||||
function ChangeMessageVerbosity(s: string; var i : integer;state:tmsgstate): boolean;
|
||||
function ChangeMessageVerbosity(s: ansistring; var i : integer;state:tmsgstate): boolean;
|
||||
var
|
||||
tok : string;
|
||||
tok : ansistring;
|
||||
msgnr, code : longint;
|
||||
begin
|
||||
{ delete everything up to and including 'm' }
|
||||
|
Loading…
Reference in New Issue
Block a user