mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:49:25 +02:00
codetools: identifier completion: fixed ilcfNeedsDo when as is next token, bug #30703
git-svn-id: trunk@53115 -
This commit is contained in:
parent
261d36c0b3
commit
2e697531df
@ -2846,6 +2846,7 @@ begin
|
||||
// check missing 'do' after 'with'
|
||||
if CurrentIdentifierList.StartUpAtomInFrontIs('WITH')
|
||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('DO'))
|
||||
and (not CurrentIdentifierList.StartUpAtomBehindIs('AS'))
|
||||
and (CurrentIdentifierList.StartBracketLvl=0)
|
||||
and (not (CurrentIdentifierList.StartAtomBehind.Flag in
|
||||
[cafComma,cafPoint,cafRoundBracketOpen,cafEdgedBracketOpen]))
|
||||
|
Loading…
Reference in New Issue
Block a user