mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 11:00:33 +02:00
codetools: parse without error if end
git-svn-id: trunk@39728 -
This commit is contained in:
parent
865a07f674
commit
3162b45928
@ -2708,8 +2708,6 @@ var BlockType: TEndBlockType;
|
||||
function AutomaticallyEnded: boolean;
|
||||
begin
|
||||
if BlockType=ebtIf then begin
|
||||
if (IfType=itNone) then
|
||||
RaiseStrExpectedWithBlockStartHint('"then"');
|
||||
CloseNode;
|
||||
UndoReadNextAtom;
|
||||
Result:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user