mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 15:00:29 +02:00
* Block nodes are now marked as strippable when created from "begin" statements
This commit is contained in:
parent
6cc391dfa1
commit
b828529b24
@ -1387,7 +1387,10 @@ implementation
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
_BEGIN :
|
_BEGIN :
|
||||||
code:=statement_block(_BEGIN);
|
begin
|
||||||
|
code:=statement_block(_BEGIN);
|
||||||
|
Include(TBlockNode(code).blocknodeflags, bnf_strippable);
|
||||||
|
end;
|
||||||
_IF :
|
_IF :
|
||||||
code:=if_statement;
|
code:=if_statement;
|
||||||
_CASE :
|
_CASE :
|
||||||
|
Loading…
Reference in New Issue
Block a user