mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 22:32:29 +02:00
* fixed disabling of inlining procedures/functions with nested
procedures/functions git-svn-id: trunk@9232 -
This commit is contained in:
parent
ff3f24265d
commit
9f705776c9
@ -1466,7 +1466,7 @@ implementation
|
||||
begin
|
||||
Message1(parser_w_not_supported_for_inline,'nested procedures');
|
||||
Message(parser_w_inlining_disabled);
|
||||
current_procinfo.procdef.proccalloption:=pocall_default;
|
||||
exclude(current_procinfo.procdef.procoptions,po_inline);
|
||||
end;
|
||||
end;
|
||||
if not(df_generic in current_procinfo.procdef.defoptions) then
|
||||
|
Loading…
Reference in New Issue
Block a user