mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 20:40:36 +02:00
codetools: removed generic from the list of global keywords
git-svn-id: trunk@14151 -
This commit is contained in:
parent
f2f92d75eb
commit
12698f650c
@ -809,7 +809,7 @@ begin
|
|||||||
Add('FINALLY',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('FINALLY',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('FOR',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('FOR',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('FUNCTION',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('FUNCTION',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('GENERIC',{$ifdef FPC}@{$endif}AllwaysTrue);
|
//Add('GENERIC',{$ifdef FPC}@{$endif}AllwaysTrue); can be used as identifier
|
||||||
Add('GOTO',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('GOTO',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('IF',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('IF',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('IMPLEMENTATION',{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('IMPLEMENTATION',{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
@ -4289,7 +4289,7 @@ var
|
|||||||
Identifier:=@Tool.Src[Position+Count];
|
Identifier:=@Tool.Src[Position+Count];
|
||||||
AVLNode:=NeededPointerTypes.FindKey(Identifier,
|
AVLNode:=NeededPointerTypes.FindKey(Identifier,
|
||||||
@CompareImplicitTypeStringAndName);
|
@CompareImplicitTypeStringAndName);
|
||||||
//DebugLn(['AddNeededPointerType ',GetIdentifier(Identifier),' Position=',Position,' Count=',Count]);
|
DebugLn(['AddNeededPointerType ',GetIdentifier(Identifier),' Position=',Position,' Count=',Count]);
|
||||||
if AVLNode<>nil then begin
|
if AVLNode<>nil then begin
|
||||||
Item:=TImplicitType(AVLNode.Data);
|
Item:=TImplicitType(AVLNode.Data);
|
||||||
if Item.MaxPosition<Count then
|
if Item.MaxPosition<Count then
|
||||||
|
Loading…
Reference in New Issue
Block a user