codetools: parse without error if end

git-svn-id: trunk@39728 -
This commit is contained in:
mattias 2013-01-02 11:39:48 +00:00
parent 865a07f674
commit 3162b45928

View File

@ -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;