codetools: started &keyword identifiers

git-svn-id: trunk@34429 -
This commit is contained in:
mattias 2011-12-26 13:20:58 +00:00
parent 5d55835b0d
commit 24da91f0a8

View File

@ -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