mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 14:59:11 +02:00
IDE: source editor: set elseif
git-svn-id: trunk@41197 -
This commit is contained in:
parent
ec42d1983b
commit
3904b0b4eb
@ -5459,7 +5459,7 @@ begin
|
||||
begin
|
||||
aDirective:=Scanner.DirectivesSorted[i];
|
||||
if TCodeBuffer(aDirective^.Code)<>Code then continue;
|
||||
if not (aDirective^.Kind in (lsdkAllIf+[lsdkElIfC])) then continue;
|
||||
if not (aDirective^.Kind in (lsdkAllIf+[lsdkElIfC,lsdkElseIf])) then continue;
|
||||
Code.AbsoluteToLineCol(aDirective^.SrcPos,Y,X);
|
||||
if Y<1 then continue;
|
||||
SynState:=idnInvalid;
|
||||
|
Loading…
Reference in New Issue
Block a user