mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-05 12:52:37 +02:00
codetools: procedure modifier deprecated
git-svn-id: trunk@22471 -
This commit is contained in:
parent
aec217654e
commit
dffcbd97cc
@ -779,6 +779,7 @@ begin
|
||||
Add('LIBRARY' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('FINAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('ENUMERATOR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('DEPRECATED' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
end;
|
||||
|
||||
IsKeyWordProcedureSpecifier:=TKeyWordFunctionList.Create;
|
||||
@ -815,6 +816,7 @@ begin
|
||||
Add('ALIAS' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('EXPERIMENTAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('LIBRARY' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('DEPRECATED' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
end;
|
||||
|
||||
IsKeyWordProcedureTypeSpecifier:=TKeyWordFunctionList.Create;
|
||||
|
@ -1593,6 +1593,7 @@ begin
|
||||
if IsSpecifier then begin
|
||||
// read specifier
|
||||
if UpAtomIs('MESSAGE') or UpAtomIs('DISPID') or UpAtomIs('ENUMERATOR')
|
||||
or UpAtomIs('DEPRECATED')
|
||||
then begin
|
||||
ReadNextAtom;
|
||||
ReadConstant(true,false,[]);
|
||||
|
@ -3652,7 +3652,7 @@ begin
|
||||
end
|
||||
else if ((ord(p^) and %11100000) = %11000000) then begin
|
||||
// could be 2 byte character
|
||||
if (ord(p[1]) and %11000000) = %10000000 then
|
||||
if (Count) (ord(p[1]) and %11000000) = %10000000 then
|
||||
CharLen:=2
|
||||
else
|
||||
exit; // missing following bytes
|
||||
|
Loading…
Reference in New Issue
Block a user