mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:19:16 +02:00
codetools: started &keyword identifiers
git-svn-id: trunk@34429 -
This commit is contained in:
parent
5d55835b0d
commit
24da91f0a8
@ -803,9 +803,10 @@ function TCustomCodeTool.AtomIsIdentifier(ExceptionOnNotFound: boolean):boolean;
|
||||
|
||||
begin
|
||||
if (CurPos.StartPos<=SrcLen)
|
||||
and IsIdentStartChar[Src[CurPos.StartPos]]
|
||||
and not WordIsKeyWordFuncList.DoItCaseInsensitive(Src,CurPos.StartPos,
|
||||
CurPos.EndPos-CurPos.StartPos)
|
||||
and ((IsIdentStartChar[Src[CurPos.StartPos]]
|
||||
and not WordIsKeyWordFuncList.DoItCaseInsensitive(Src,CurPos.StartPos,
|
||||
CurPos.EndPos-CurPos.StartPos))
|
||||
or (Src[CurPos.StartPos]='&') and IsIdentChar[Src[CurPos.StartPos+1]])
|
||||
then
|
||||
exit(true);
|
||||
if not ExceptionOnNotFound then
|
||||
|
Loading…
Reference in New Issue
Block a user