codetools: fixed compilation with fpc 2.5.1

git-svn-id: trunk@24391 -
This commit is contained in:
mattias 2010-04-04 10:42:46 +00:00
parent 7d8ef3e279
commit 468b3feea5

View File

@ -119,7 +119,10 @@ type
const
MethodKindAsString: array[TMethodKind] of shortstring = (
'procedure', 'function', 'constructor', 'destructor',
'class procedure', 'class function'
'class procedure', 'class function',
{$IFNDEF VER2_4}
'class constructor', 'class destructor'
{$ENDIF}
);
function ReverseRTTIParamList: boolean;