codetools: identifier completion: not adding semicolon in front of a binary symbol operator

git-svn-id: trunk@18800 -
This commit is contained in:
mattias 2009-02-22 22:47:00 +00:00
parent 2f1b930d22
commit 8eef3a2022

View File

@ -1600,7 +1600,7 @@ begin
or (CurPos.Flag in [cafSemicolon, cafEqual, cafColon, cafComma,
cafPoint, cafRoundBracketOpen, cafRoundBracketClose,
cafEdgedBracketOpen, cafEdgedBracketClose])
or ((CurPos.Flag=cafWord)
or ((CurPos.Flag in [cafWord,cafNone])
and (UpAtomIs('ELSE')
or UpAtomIs('THEN')
or UpAtomIs('DO')