mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 18:10:39 +02:00
codetools: added predefined fpc identifier get_frame
git-svn-id: trunk@54859 -
This commit is contained in:
parent
9c8fc2ffde
commit
878dfd23f9
@ -10258,6 +10258,11 @@ begin
|
||||
Result:=ParamList.Items[0]; // Copy sets the result based on the first
|
||||
// parameter (can be any kind of string or array)
|
||||
end
|
||||
else if (CompareIdentifiers(IdentPos,'GET_FRAME')=0) then
|
||||
begin
|
||||
if ParamList.Count<>1 then exit;
|
||||
Result.Desc:=xtPointer;
|
||||
end
|
||||
else if (CompareIdentifiers(IdentPos,'OBJCSELECTOR')=0) then
|
||||
begin
|
||||
// return type is System.SEL
|
||||
|
@ -1690,6 +1690,7 @@ begin
|
||||
Add('EXTENDED' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('FALSE' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('FILE' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('GET_FRAME' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('INT64' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('LENGTH' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
Add('LONGBOOL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||
|
Loading…
Reference in New Issue
Block a user