mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:41:01 +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
|
begin
|
||||||
aDirective:=Scanner.DirectivesSorted[i];
|
aDirective:=Scanner.DirectivesSorted[i];
|
||||||
if TCodeBuffer(aDirective^.Code)<>Code then continue;
|
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);
|
Code.AbsoluteToLineCol(aDirective^.SrcPos,Y,X);
|
||||||
if Y<1 then continue;
|
if Y<1 then continue;
|
||||||
SynState:=idnInvalid;
|
SynState:=idnInvalid;
|
||||||
|
Loading…
Reference in New Issue
Block a user