diff --git a/components/synedit/syncompletion.pas b/components/synedit/syncompletion.pas index 7a61520ab4..7089e24f7e 100644 --- a/components/synedit/syncompletion.pas +++ b/components/synedit/syncompletion.pas @@ -448,10 +448,12 @@ var KeyOffset: integer; function IsIdentifierChar(p: PChar): boolean; inline; +{$IF FPC_FULLVERSION >= 20701} var u: UnicodeString; i: Integer; L: Cardinal; +{$ENDIF} begin Result := p^ in ['a'..'z','A'..'Z','0'..'9','_']; if Result then exit;