From 12698f650c5952ec5f79398532be0b9c9b7709fb Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 15 Feb 2008 21:57:46 +0000 Subject: [PATCH] codetools: removed generic from the list of global keywords git-svn-id: trunk@14151 - --- components/codetools/keywordfunclists.pas | 2 +- components/h2pas/h2pasconvert.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/codetools/keywordfunclists.pas b/components/codetools/keywordfunclists.pas index 9c90f698f9..58ba0880aa 100644 --- a/components/codetools/keywordfunclists.pas +++ b/components/codetools/keywordfunclists.pas @@ -809,7 +809,7 @@ begin Add('FINALLY',{$ifdef FPC}@{$endif}AllwaysTrue); Add('FOR',{$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('IF',{$ifdef FPC}@{$endif}AllwaysTrue); Add('IMPLEMENTATION',{$ifdef FPC}@{$endif}AllwaysTrue); diff --git a/components/h2pas/h2pasconvert.pas b/components/h2pas/h2pasconvert.pas index 2e90effe14..d525c2335f 100644 --- a/components/h2pas/h2pasconvert.pas +++ b/components/h2pas/h2pasconvert.pas @@ -4289,7 +4289,7 @@ var Identifier:=@Tool.Src[Position+Count]; AVLNode:=NeededPointerTypes.FindKey(Identifier, @CompareImplicitTypeStringAndName); - //DebugLn(['AddNeededPointerType ',GetIdentifier(Identifier),' Position=',Position,' Count=',Count]); + DebugLn(['AddNeededPointerType ',GetIdentifier(Identifier),' Position=',Position,' Count=',Count]); if AVLNode<>nil then begin Item:=TImplicitType(AVLNode.Data); if Item.MaxPosition