mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 02:36:23 +02:00
Codetools: Support more modifiers in class method. Issue #40368, patch by Peacoor.
This commit is contained in:
parent
be92e362e8
commit
479ff9635e
@ -909,6 +909,12 @@ begin
|
|||||||
Add('VARARGS' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('VARARGS' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('VECTORCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('VECTORCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('EXTERNAL' ,{$ifdef FPC}@{$endif}AllwaysTrue); //jvm
|
Add('EXTERNAL' ,{$ifdef FPC}@{$endif}AllwaysTrue); //jvm
|
||||||
|
Add('WINAPI' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('OLDFPCCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('SOFTFLOAT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('HARDFLOAT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('IOCHECK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('LOCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
IsKeyWordProcedureSpecifier:=TKeyWordFunctionList.Create('IsKeyWordProcedureSpecifier');
|
IsKeyWordProcedureSpecifier:=TKeyWordFunctionList.Create('IsKeyWordProcedureSpecifier');
|
||||||
@ -1035,6 +1041,10 @@ begin
|
|||||||
Add('POPSTACK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('POPSTACK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('SAFECALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('SAFECALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('VECTORCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('VECTORCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('WINAPI' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('OLDFPCCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('SOFTFLOAT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('HARDFLOAT' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
// Note: 'inline' and 'is nested' are not a calling specifiers
|
// Note: 'inline' and 'is nested' are not a calling specifiers
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user